Weather-Application
A nodejs backend run application that can be used to view weather data of a location via command line.
- The application uses Mapbox for fetching the latitude and longitude of a location from the name of the location.
- The application uses WeatherStack for fetching the weather data of a location from the latitude and longitude of the location.
The project uses npm version 7.6.0 and Node.js v12.20.2.
Instructions to run and use the application are given below:
Application Setup
- Start terminal(Mac/Linux) or command window(Windows). Ensure you have git, node and npm installed.
- Run command
https://github.com/pranav1601/weather-application.git
- Run command
cd weather-application
- install the dependencies-> Run command ->
npm install
How to use the application?
View the current weather:
- run command ->
node app.js enter_name_of_location_here