Search the current weather of a given location
node 8.4.0
local mongoDB instance
$ npm install
$ npm start
When executing the application for very first time 5 valid keys will be generated.
- /key/generate - (GET) Generates a new key.
- /weather - (GET) Search weather description by location.
- compulsory params:
- key, city
- optional params:
- country (2-letter code)
- compulsory params:
Verbose config
- Set verbose true to see the summary of each test (including performance), but not logs
- Set verbose false to see the log generated by each test.
"verbose": true
npm test
or
npm t