This is an implementation of this code challenge https://github.com/marcusmota/uk-crud-users/Task.md
The documentation is available in SwaggerHub / uk-Recruiment-api
The application is built with Node.js and MongoDB as database with docker. To start the application you need docker
and docker-compose
.
The application will be avaible on PORT 3000 by default.
Note: you should create .env
file with the enviroment variables, our docker-compose
file already has the NODE_ENV
variable, on .env file you just have to copy .env.copy
to .env
If you want to run in development mode, use this command
docker-compose -f docker-compose.yml up --build
To run the tests using docker, use this command:
docker-compose -f docker-compose-test.yml up --build
If you want to run in production mode, use this command
docker-compose -f docker-compose-prod.yml up --build
And then you will see something like this on your terminal
Starting ukcrudusers__1 ...
Starting ukcrudusers__1 ... done
Starting ukcrudusers_app_1 ...
Starting ukcrudusers_app_1 ... done
Feel free to join us on the API
- Marcus Mota - MarcusMota