Contains a REST API to facilitate booking appointments between providers and clients
docker-compose up --build -d
docker-compose down
- Node 20.11.0
- Mongoose ODM
- Express.js
- dotenv
- mongoose-unique-validator
- Validator.js
- Moment.js
- bullmq
- @bull-board/express
- sentry
Run all unit tests
jest --config=src/tests/jest.config.json --testPathPattern=src/tests/unit/ --forceExit
Run an individual unit test
jest --config=src/tests/jest.config.json --testPathPattern=src/tests/unit/client.test.ts --forceExit
Run an indivudal integration test
jest --config=src/tests/jest.config.json --testPathPattern=src/tests/integration/provider.test.ts --forceExit
- Requires launching the application via Docker.
Click here to access the postman collection.
Improvement:
- Implement health checks to gracefully start and stop the application. (e.g. src/config/mongoose)
- Improve application performance by leveraging indexes on the mongoose models.