Skip to content

vzan2012/node-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App (Node)

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.

Getting Started

Dependencies

  • To run this application in your local. You need NodeJS installed in your local machine.

Installing

  • 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>>"
    

Executing program

  • 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)

Screenshot

image

Author

Deepak Guptha Sitharaman

License

This project is open source licensed - see the LICENSE.md file for details