A simple weather app I made using the API on https://www.weatherapi.com
-
Get your free API Key from WeatherAPI
-
Clone this repo
Or Use Git:
git clone https://github.com/brodie969/weather/-
Create a file called
secrets.js. -
Place the URL, along with your key and city in
secrets.jslike this:
export const API_KEY = 'http://api.weatherapi.com/v1/current.json?key=123456789&q=City';-
Start a local development server with your preferred method
-
Go to localhost in your browser, and now your local weather is there!
Check out brodie969/complex-weather for a better, more advanced version.