An REST API allows to perform CRUD operations with a "fiction" company. The company includes departments and employees. The API includes data validation, database migrations, swagger documentation, unit, integration tests.
https://nodejs-rest-api.innokentii-kozlov.com - API endpoint.
https://nodejs-rest-api.innokentii-kozlov.com/api - API Swagger Documentation.
- Docker
- Kubernetes
- Argo CD
- GitHub Actions
- TypeScript & NestJs
- Postgres & TypeOrm
- Jest
These instructions show how to run the database and API locally using Docker. Make sure you have Docker and Make installed.
make generate-tls-certificates
This command starts a PostgreSQL container and runs the initial migrations.
make database-start-local
make api-start-local
The API will be available at https://localhost:3000
by default.