Example of the Nodejs project with explaining how to utilize Jasmine testing framework
Install project dependencies
`npm install`
Install jasmine globaly
`npm install -g jasmine`
`npm start`
Web service will be accessable on localhost:3000
- POST
/weather
with body:
{
"id": 1,
"location": "Louisville",
"temperature": {
"fahrenheit": 40
}
}
- GET
/weather/:id
npm test