- Install docker
- For each service that contains
.env.example
- copy it into.env
and update it - Run
npm run docker:up
to start project - Connect to DB and create database (sorry)
See postman example how to use it (./docs/)
- Add migrations
- Add tests
- Configure SSL certificates for gRCP (locally it is working fine but for docker need to change hosts URL)
API gateway for microservices
- Can be replaced with
ngnix
to boost performance - Can be optimized to boost performance
- Can be refactored
- Can be switched to TS (small project so I picked JS instead of TS)
- Add ability to use load balancer
Microservice to handle auth requests using API (login, register) and JWT validation (gRCP)
- Add tests
- Remove unused files
Microservice to handle survey API calls. Can be used to create/find/delete surveys, get questions and save answers
- Add tests
- Remove unused files
Microservice to save conflicts via gRCP and get conflicts using API
- Add pagination
- Add tests
- Remove unused files
- Improve docker scripts to optimize developing and CI/CD performance
- Use npm ci instead of npm install for production