Skip to content

Latest commit

 

History

History
35 lines (17 loc) · 650 Bytes

README.md

File metadata and controls

35 lines (17 loc) · 650 Bytes

Simple Weather API

This is a simple weather API that uses a third party API calls to figure out the wheather temp with a meaningfull message.

Scripts

-Install the modules needed:

npm install

-start the app:

npm start

It is going to write: "App listening on port 3000!"

Open Postman and try out below calls:

http://localhost:3000/weather/london

http://localhost:3000/weather/toronto

http://localhost:3000/weather/doho

you can also open swagger:

http://localhost:3000/api-docs/

There is only one GET API Call. Click on Try it Out there is a default value of london. You can change it and see the weather.