A simple Flask web application to display current weather information for added cities using the OpenWeatherMap API.
- 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.
- Python
- Flask (for web framework)
- SQLAlchemy (for database management)
- SQLite (for local database)
- HTML, CSS (with Bulma for styling)
- Python 3.x
- OpenWeatherMap API Key https://openweathermap.org/api
-
Clone the repository and navigate into it.
-
Create a virtual environment, activate it, and install dependencies.
-
Add your OpenWeatherMap API key in
app.py
. -
Initialize the database.
-
Run the application.
-
Access the app at
http://127.0.0.1:5000
.
This project was developed as a personal practice to learn and demonstrate Flask web development skills.