Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/haleema33/weather_dashboard

Search for current weather conditions and a next 5-day forecast by city. Responsive design for mobile, tablet, and desktop views. Saves the last searched city in local storage. Add favorite cities to the list in side navigation.
https://github.com/haleema33/weather_dashboard

weather-api weather-forecast website

Last synced: 18 days ago
JSON representation

Search for current weather conditions and a next 5-day forecast by city. Responsive design for mobile, tablet, and desktop views. Saves the last searched city in local storage. Add favorite cities to the list in side navigation.

Awesome Lists containing this project

README

        

# Weather Dashboard

## Instructions

1. Clone the repository.
2. Open `index.html` in a web browser to view the weather dashboard. The dashboard should automatically fetch weather data for your search location. If you encounter any issues, please ensure that your browser supports geolocation.

## Features

- Search for current weather conditions and a next 5-day forecast by city.
- Responsive design for mobile, tablet, and desktop views.
- Saves the last searched city in local storage.
- Add favorite cities to the list in side navigation.

## Local Development

To run the project locally on `localhost:3000`:

1. Clone the repository.
2. Obtain an API key from OpenWeatherMap.
3. Replace `'apiKey'` in `fetchWeather.php` with your actual API key OR you can also use the given api key.
4. Install a local server, such as XAMPP or WAMP, if you don't already have one.
5. Start the local server and navigate to the project directory.
6. Access the project through your local server, e.g., `http://localhost:3000/index.html`.

## API Used

- [OpenWeatherMap API](https://openweathermap.org/api)