npm install
You have to create an additional file which called "db.config.js", with the following entries.
process.env.USERNAME="XXXXX",
process.env.PASSWORD="XXXXXXXXXXXX",
process.env.HOST= "xxxxxxxxx.xxxxx.mongodb.net",
process.env.DB= "XXXXXXXX"
To run the API on localhost, simply execute :
nodemon index
npm run test