a simple web app for weather forecast (in Italian)
for educational purposes only
In this very simple web-app, I access data from Open Weather Map API and I can insert or delete cities from everywhere in the world. For each city I can see a 7 days forecast (in a separate page).
- Flask (Flask, render_template, redirect,request, url_for)
- Flask alchemy (SQLAlchemy)
- flask-dotenv
- os (environ)
- requests
- datetime
- weather2.py : engine code
- weather.db : Sqlite3 Database with table cities
- weather_app.html : main homepage
- weather.html : 7 days forecast page
- base.html : base template