This is a simple weather API that uses a third party API calls to figure out the wheather temp with a meaningfull message.
-Install the modules needed:
-start the app:
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.