...for lack of a better name.
A React app that intakes a location name/area code, makes an API call to determine weather conditions, and tells if they are good for biking.
The user has the ability to enter both location names and area codes to determine the weather/conditions in an area. The user is presented with the temperature (actual and feels-like), chance of rain (current and in the next hour), and humidity. The data is also highlighted in either green (good for biking) or red (not good).
Data is retrieved from WeatherAPI using the forecast endpoint.
You will require an installation of node.js to run this application.
After you have cloned the repository locally:
-
Get an API key from WeatherAPI. You only need the free tier for this program to work, so hit 'Get Started Free' and follow the rest of the setup.
-
Take the
config-template.json
file in thesrc
folder, rename it toconfig.json
, and replace the current key value with your newly-received key. -
Install dependencies using
npm i
. -
Run the program by opening a terminal in the folder of this README and run
npm start
. This will open the application locally.