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

https://github.com/sudebyhn/flask_project

A Flask-based web app providing real-time weather updates and a 5-day forecast using OpenWeatherMap API.
https://github.com/sudebyhn/flask_project

api css flask javascript jquery json python weather-api weather-forecast

Last synced: 3 months ago
JSON representation

A Flask-based web app providing real-time weather updates and a 5-day forecast using OpenWeatherMap API.

Awesome Lists containing this project

README

          

# WeatherApp

WeatherApp is a simple web application that allows users to enter a city name and view the current weather conditions. The application uses the OpenWeatherMap API to fetch weather data and display it to users visually. It also includes error handling for invalid city names and API errors.

- **Current Weather Information:**
- Displays temperature, weather description, humidity, wind speed, sunrise, and sunset times.
- Fetches data based on the city entered by the user or their current location.

- **5-Day Weather Forecast:**
- Provides daily weather forecasts including temperature and weather description.

- **User Interface:**
- **Search Button:** Allows users to input a city name to retrieve weather data.
- **Current Location Button:** Fetches weather information based on the user's current location.

- **Error Handling:**
- Handles invalid city names and API errors gracefully.

## Technologies Used
**Backend:**
- **Python Flask**: Used for backend development

**Frontend:**
- **HTML**: For structuring the web page.
- **CSS**: For styling and layout of the page.
- **jQuery**: For making HTTP requests and manipulating the DOM.
- **JavaScript**: For handling API responses and updating the UI dynamically.
- **OpenWeatherMap API**: For fetching weather data.

## Brief Report

You can view the detailed report of the Weather App project [here](Brief%20Report%20Of%20Weather%20App.pdf).