This is a code test for HolidayExtras. The aim of this test is to create an API in order to manage a user entity. To do so, I decided to use Docker & docker compose in order to run a MongoDB instance.
The following commands will build and run the mongodb image, and the user container
- Install all the dependencies with
yarn or npm i
- cd to the architecture folder
cd architecture
- build the docker image
docker-compose -f development.yml build
- run the docker image
docker-compose -f development.yml up
There is a swagger.yml file to be used in postman in order to have a collection ready to be tested.