Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/iroshanrathnayake/weather-webapp

A web application providing real time weather updates, forecasts, air quality, sunrise/sunset times, and interactive maps. Includes future enhancements like historical data and localized news.
https://github.com/iroshanrathnayake/weather-webapp

api javascript weather-api weather-forecast

Last synced: 8 days ago
JSON representation

A web application providing real time weather updates, forecasts, air quality, sunrise/sunset times, and interactive maps. Includes future enhancements like historical data and localized news.

Awesome Lists containing this project

README

        

# Weather Forecast Web App

## Overview

This project is a **Weather Forecast Web Application** that displays weather conditions for a selected location. The application provides daily and weekly weather forecasts, along with additional information such as air quality, sunrise/sunset times, and a temperature graph.

### Web App UI

![Weather Web App UI](/assets/images/homepage.png)

### Features
- **Search for Locations**: Enter any city to get real-time weather data.
- **Daily and Weekly Forecast**: Displays the temperature, humidity, wind speed, and weather conditions.
- **Interactive Map**: Shows the current location on the map.
- **Air Quality Index**: Provides air quality data for the selected location.
- **Sunrise and Sunset**: Displays daily sunrise and sunset times.
- **Temperature Graph**: Shows a graph of temperature trends over time.

### Technologies Used
- **HTML5 & CSS3**: For building the UI structure and styling.
- **JavaScript**: For handling data fetching and interactivity.
- **Bootstrap**: To ensure responsive design and layout.
- **WeatherAPI**: Provides weather and forecast data.
- **Google Maps API**: For the interactive map displaying the location.

### Future Enhancements
- **Historical Data**: Show past weather data for a given location.
- **User Accounts**: Save favorite locations for easier access.
- **Location News**: Display localized news updates relevant to the location.

### Weekly Forecast

![Weekly Forecast Screenshot](/assets/images/week-forecast.png)

### Today Forecast

![Today Forecast Screenshot](/assets/images/today-forecast.png)

## Installation and Setup

### Prerequisites
- An API key from [WeatherAPI](https://www.weatherapi.com/)

### Instructions

1. Clone the repository:
```bash
git clone https://github.com/IroshanRathnayake/Weather-WebApp.git
cd Weather-WebApp