Skip to content

Brodie969/weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brodie969/weather

A simple weather app I made using the API on https://www.weatherapi.com

How To Run Locally:

  1. Get your free API Key from WeatherAPI

  2. Clone this repo

Download the .zip

Or Use Git:

git clone https://github.com/brodie969/weather/
  1. Create a file called secrets.js.

  2. Place the URL, along with your key and city in secrets.js like this:

export const API_KEY = 'http://api.weatherapi.com/v1/current.json?key=123456789&q=City';
  1. Start a local development server with your preferred method

  2. Go to localhost in your browser, and now your local weather is there!

More complex version coming soon

Check out brodie969/complex-weather for a better, more advanced version.

About

A simple weather app for me to learn how to use APIs

Resources

License

Stars

Watchers

Forks

Packages

No packages published