Skip to content

Ronak06/WeatherForecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Forecast

This application is a weather forecaster which leverages the Dark Sky API to provide the latest weather for a given city or user location. Additionally, users are able to get the weather for their exact location (by clicking the GPS button) or see weather in a random location by clicking the I'm Feeling Lucky button. Both of the following features leverage OpenCage Geocoder to translate longitude and latitude into a city name and vice versa.

To run application

  1. Clone application using git clone cli.
  2. Create an account on https://darksky.net/dev and https://opencagedata.com/ and copy your API key from both sites.
  3. Create a '.env' file and store each API key in a separate variable called 'REACT_APP_DARK_API_KEY' and 'REACT_APP_CAGE_API_KEY'.
  4. Run 'npm install' to install all the dependencies.
  5. Run 'npm start' in the application directory.
  6. Enjoy!

Demo

About

Weather Forecast app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published