Requirements:
This project relies on nodejs 12+ and mongodb, so you should have nodejs and mongodb installed in your local environment
How to start
- Clone the repository
npm install
to install dependenciesnpm start
to start the projectnpm test
to run the unit tests
Notes:
- I have used nodejs/expressjs/mongodb for the REST api
- I have used mocha/chai for unit testing
- This includes api documentation defined in swagger specifications
- After running tests, you can check the coverage report in coverage directory
- This project includes docker file so we can run it in server with docker