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`.
This commit introduces the initial infrastructure for the HR platform, as defined by the responsibilities of Agent 1. It includes:
- A `Dockerfile` for building the Node.js application container.
- A `docker-compose.yml` file to orchestrate the `api` and `db` services.
- An `.env.example` file to define the required environment variables.
- A `.gitignore` file to exclude unnecessary files from version control.
- A log file in `docs/agents/agent-01-infraestructura.md` to document the changes.