2 Commits

Author SHA1 Message Date
google-labs-jules[bot]
7db61d9af9 feat: Set up database and data models
This commit establishes the database foundation for the HR Platform.

Key changes include:
- Defined the complete data schema in `docs/API_CONTRACTS.md` to serve as a single source of truth.
- Integrated `knex.js` with `sqlite3` to manage the database connection and schema.
- Implemented a version-controlled migration system and created initial migrations for all required tables.
- Created seed files to populate the database with sample data for development.
- Addressed security feedback by using `bcrypt` to hash user passwords in the seed data and adding the SQLite database file to `.gitignore`.
2025-12-13 22:08:28 +00:00
google-labs-jules[bot]
3e6deb7236 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.
2025-12-13 21:43:28 +00:00