Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/rahul-vinay/flask-weather-app
- Owner: rahul-vinay
- Created: 2024-10-30T19:18:17.000Z (8 days ago)
- Default Branch: main
- Last Pushed: 2024-10-30T19:50:02.000Z (8 days ago)
- Last Synced: 2024-10-30T20:26:58.405Z (8 days ago)
- Topics: css, flask-api, flask-sqlalchemy, html, http-requests, json, python, weather-api, webdevelopment
- Language: HTML
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.