The overall goal of this Node app is to get weather forecast for any location around the globe. The app first receives the address from the search bar as shown in the screenshot and uses it to Geocode its latitude and longitude using MapBox Api and then uses those latitude and longitude to get the weather forecast using WeatherStack Api.
First get your own API keys and place then in the respective forecast.js(API key from WeatherStack) and geocode.js(API key from MapBox) file. This app requires Node.js to run. Install the dependencies and devDependencies and start the server.
$ node app.js
- NodeJs, HandleBars
- Mapbox API for Geocoding
- Weather Stack API for weather forecast