Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rahul-vinay/flask-weather-app

This Flask Weather App provides real-time temperature data for cities worldwide using the OpenWeatherMap API. Built with Flask, it retrieves and displays current temperature information in a straightforward, accessible format.
https://github.com/rahul-vinay/flask-weather-app

css flask-api flask-sqlalchemy html http-requests json python weather-api webdevelopment

Last synced: 6 days ago
JSON representation

This Flask Weather App provides real-time temperature data for cities worldwide using the OpenWeatherMap API. Built with Flask, it retrieves and displays current temperature information in a straightforward, accessible format.

Awesome Lists containing this project

README

        

# Flask Weather App 🌤️

A simple Flask web application to display current weather information for added cities using the OpenWeatherMap API.

## Features
- Add cities to a list and retrieve their current weather.
- Displays temperature, weather description, and an icon representing the weather.
- Delete cities from the list.

## Technologies Used
- Python
- Flask (for web framework)
- SQLAlchemy (for database management)
- SQLite (for local database)
- HTML, CSS (with Bulma for styling)

## Getting Started

### Prerequisites
- Python 3.x
- OpenWeatherMap API Key https://openweathermap.org/api

## Setup Instructions

1. **Clone the repository and navigate into it.**

2. **Create a virtual environment, activate it, and install dependencies.**

3. **Add your OpenWeatherMap API key in `app.py`.**

4. **Initialize the database.**

5. **Run the application.**

6. **Access the app at `http://127.0.0.1:5000`.**

![image](https://github.com/user-attachments/assets/3e546fa4-e49a-4c5c-bc2e-eb9fcad7bf58)

## Note

This project was developed as a personal practice to learn and demonstrate Flask web development skills.