- NodeJs 12+
- Npm
Start by cloning this repository
# HTTPS
$ git clone https://github.com/talentodev/dcs-task1.git
if you don't have NodeJS 12+, Volta can handle that for you
then
# cd into project root
$ npm i
$ npm start
the API runs on port 5000.
You may change it setting an environment variable 'PORT' or altering the file src/application/rest.js
.
Logs are written into logs
folder.
While running the API, you can access the docs on the route /apidoc
After the first run of the API you can access the docs at apidoc/index.html
$ npm run test