Skip to content

The app get the coordinate of the address entered and report the temperature

Notifications You must be signed in to change notification settings

cwizard2011/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

Installation

  • Run npm install to install the dependencies.
  • Go to www.forecast.io to register for a new account and get your key for accessing the weather data
  • Replace all the variable ${keys} in the weather url with your key in weather.js and app-promise.js with your key

Running the app

To run the app, follow the following steps:

  • open your terminal and navigate to the project directory
  • run the command node app.js -a 'Your address or zip code' or node app-promise.js -a 'Your address or zip code'
  • The temperature for the current address will be displayed in your terminal.

NOTE

Make sure you are connected to internet

About

The app get the coordinate of the address entered and report the temperature

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published