A simple Flask app that works with database, handling post and get requests.
- The app takes the name of the city as input and shows the current state of the weather and temperature.
- Background image which which changes with time of the city.
- The user will be able to delete the weather information.
-
The app uses the api from OpenWeather to fetch the weather information. Sign up here to get an API key for yourself.
-
Create a user environment variable with variable name
WEATHER_API_KEY
and put the API key in variable value -
git clone https://github.com/flukehermit/Weather-app.git cd weather-app pip install -r requirements.txt
python app.py