This web application developed using Node.js, accepts the location as user input from the Bootstrap Form and displays the weather description of the region. External APIs have been used to retrieve the climate data.
- To run this application in your local. You need NodeJS installed in your local machine.
-
Download the zip file from the releases or pull the code
-
After extracting the files to your local machine. Inside the project folder.
-
Execute the command
npm install
-
Inside the project folder, you can find the file .env.sample file, copy or rename this file .env file.
-
You need to provide MAPBOX_TOKEN & OPENWEATHERMAP_APPID Key (to get the key you need to register with MapBox & OpenWeather)
-
MAPBOX_TOKEN="<<Enter Generated Token>>" OPENWEATHERMAP_APPID="<<Enter Generated Token>>"
-
How to run the program
-
Execute the command in your terminal
npm run dev
-
Open the browser and access url generated from the terminal (Example: http://localhost:3000)
Deepak Guptha Sitharaman
This project is open source licensed - see the LICENSE.md file for details