Making a web application like Weather App requires you to use some kind of free or paid Weather API (Application Programming Interface). In this project, I'm going to use free API from openweathermap.org.
Go to api.openweather.org and sign up to order to get the API key or you can create new API keys in your account. After getting the API key, we would install node modules that will help us in building the application. The list of node modules are:
Go to api.openweather.org and sign up to order to get the API key or you can create new API keys in your account. After getting the API key, we would install node modules that will help us in building the application. The list of node modules are:
1. express
2. body-parser
3. hbs
4. request
5. nodemon (optional)
In short, create a folder named as weather-app. Open this folder along with the terminal/command line.
Now create all the files and folders according to the file structures given below: