mirror of
https://github.com/marcogll/hr_soul23.git
synced 2026-01-13 21:35:17 +00:00
feat: Initialize Node.js backend foundation
This commit lays the groundwork for the HR Platform's backend. Key changes include: - Initialized a Node.js project with `npm`. - Added `express` as the core web framework. - Established the backend source code structure in the `src/` directory. - Implemented a basic Express server in `src/index.js`. - Added a `/health` endpoint for monitoring. - Included a centralized error-handling middleware. - Configured the server port to be read from an environment variable (`process.env.PORT`). - Added a `start` script to `package.json` for running the application. - Created a log file for Agent 2 to document backend development progress.
This commit is contained in:
8
package.json
Normal file
8
package.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"express": "^4.19.2"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node src/index.js"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user