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.
- Clone application using git clone cli.
- Create an account on https://darksky.net/dev and https://opencagedata.com/ and copy your API key from both sites.
- 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'.
- Run 'npm install' to install all the dependencies.
- Run 'npm start' in the application directory.
- Enjoy!
