Project
Weather App
Challenging
304 completions
~ 28 hours
4.4Work with the Flask library to implement a web application that will allow you to keep an eye on the weather. You will use Flask-SQLAlchemy to connect a database to your web application and work with a weather service API to get the current weather from all over the world. Practice HTML templates with Jinja and handling requests.
Provided by
JetBrains Academy
About
There are many reasons why it is important to know the weather. It helps people make important decisions about the day. The weather may influence many different things from clothes to wear during a cold day to whether it is safe to fly an airplane.
Training project
This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.
What you'll learn
Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Create a simple one-page web application that will greet the world.
Return a beautiful HTML template as a response.
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.
Reviews
3 months ago
This was a pain in the butt but worth it to learn about redirecting
Happy Slav
8 months ago
There was a lot of lacking information or wrong. Some test was stupid. I think I lost 1 day of debugging to learn that there is test db which is not cleaning itself and then I got test error.
4.4
Learners who completed this project within the Introduction to Flask course rated it as follows: