Skip to content

๐ŸŒค๏ธ Open Weather Forecast: A user-friendly web application providing real-time weather forecasts using the OpenWeather API. Easily installable and customizable. Contribute to enhance its features! ๐Ÿš€

License

Notifications You must be signed in to change notification settings

xRiku/open-weather-forecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

46 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

OpenWeather Forecast

This project creates a daily (or 5-day) forecast for some of the biggest cities in the US using the OpenWeather API.

What's Under The Hood ๐Ÿงฐ

This app is built using a jam-packed tech stack including:

Getting Started โš™๏ธ

To get a local copy up and running, you'll need a few things installed on your machine.

Prerequisites ๐Ÿ› ๏ธ

Installation Steps ๐Ÿ”ง

In your terminal, run:

$ git clone https://github.com/xRiku/open-weather-forecast.git
$ cd open-weather-forecast
$ npm i

API Key ๐Ÿ”‘

Before launching the app, you can see there's a .env.example file that contains a VITE_OPENWEATHER_API_KEY variable and expects a value, thus you need to create a file named .env with the same variable to enable the app to function. To get the value of said variable you should go to OpenWeather's website, log in or create an account, then in the header under your username click on My API keys. There you can generate a random key. Copy the key and add it to the `.env```` file like the following VITE_OPENWEATHER_API_KEY=<your key>. Please notice that it may take a few hours for the key to be activated, so running the app may not work properly right away.

Running the Application ๐Ÿš€

After installation, you can start the application by running:

$ npm run dev

Navigate to http://localhost:5173/ to see the app.

Running the Tests (Optional) โœ…

To run the tests, use the following command:

$ npm run test

Contributing ๐Ÿค

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

License ๐Ÿ“œ

This project is under the MIT License - see the License for more details.

About

๐ŸŒค๏ธ Open Weather Forecast: A user-friendly web application providing real-time weather forecasts using the OpenWeather API. Easily installable and customizable. Contribute to enhance its features! ๐Ÿš€

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published