A web application that allows to keep an eye on the weather.
WeatherApp uses Flask-SQLAlchemy to connect a database to the web application and work with a weather service API to get the current weather from all over the world.
The following operations were performed:
- Use a Weather API to get the current weather data from all over the world.
- Add a Flask SQLAlchemy library to store your data in a database.
- Handle wrong city names. Output user-friendly flash messages to users if they did something wrong.
- python - version 3.8
- flask - version 1.1.4
Here's a walkthrough of some implemented features:
Handling the addition of the city that is already shown
Handing the addition of a non-existing city
Copyright [2021] [Vladyslav Petrenko]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.