Flask Fundamentals, App Basics, and Food Tracker App
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Flask Fundamentals, App Basics, and Food Tracker App
This course is part of The Ultimate Flask Course Specialization
Included with
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Master Flask fundamentals to build web applications with dynamic functionality.
Learn how to use Flask-SQLAlchemy for seamless database management and relationships.
Create interactive templates and user authentication systems for real-world applications.
Deploy your Flask apps to cloud servers like Amazon Lightsail for live deployment.
Skills you'll gain
Details to know
April 2026
9 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 8 modules in this course
This course features Coursera Coach!
A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Dive into the world of Flask, a powerful web development framework, and build practical applications step by step. This course walks you through essential concepts like routing, database management with SQLAlchemy, templates, and user authentication. By applying these concepts, you will master building web apps with Flask while also learning how to structure your projects for scalability. Starting with Flask basics, you’ll explore the core concepts like routing, request methods, and form handling. As you move along, you'll learn about database operations, including creating tables, inserting, updating, and querying data with SQLAlchemy. You will also create a dynamic user registration app, an API, and a comprehensive dashboard application that employs charts and user login features. Alongside, you’ll also create a food tracker app with a strong focus on deploying to cloud servers. The course is perfect for anyone interested in web development and building robust, data-driven applications. It’s designed for beginners with no prior experience in Flask, though familiarity with Python programming basics is recommended. The difficulty level is beginner to intermediate, making it ideal for those just starting with web development frameworks and web apps. By the end of the course, you will be able to create and deploy full-stack applications using Flask, manage databases with Flask-SQLAlchemy, design dynamic web pages with templates, and integrate user authentication into your projects.
In this module, we will explore the foundational concepts of Flask and how to set up the framework for web development. You will learn how routing works, how to manage HTTP request methods, and how to capture data from URLs and forms. By the end, you will be able to handle user input, return JSON responses, and debug Flask applications effectively.
What's included
9 videos2 readings
9 videos•Total 35 minutes
- Install Flask•5 minutes
- Routing•3 minutes
- Request Methods•3 minutes
- Route Variables•3 minutes
- Query String Arguments•4 minutes
- Form Data•6 minutes
- JSON Data•5 minutes
- Redirects•2 minutes
- Debug Mode•3 minutes
2 readings•Total 20 minutes
- Introduction to the Course 'Flask Fundamentals, App Basics, and Food Tracker App'•10 minutes
- Full Specialization Resources•10 minutes
In this module, we will explore how to create dynamic user interfaces using Flask’s Jinja2 templating engine. You will learn how to pass data from Python to HTML and control page rendering with conditions and loops. This section also covers reusable templates and managing static resources for well-structured web applications.
What's included
8 videos1 assignment
8 videos•Total 24 minutes
- Intro to Templates•2 minutes
- Template Variables•3 minutes
- Conditionals•5 minutes
- Loops•3 minutes
- Include•2 minutes
- Inheritance•6 minutes
- Comments•1 minute
- Static Files•3 minutes
1 assignment•Total 15 minutes
- Templates - Assessment•15 minutes
In this module, we will explore how to integrate databases into Flask applications using Flask-SQLAlchemy. You will learn how to create models, perform CRUD operations, and manage relational data effectively. By the end, you will be able to design and query relational databases for real-world Flask projects.
What's included
12 videos1 assignment
12 videos•Total 40 minutes
- Install and Configure•3 minutes
- Create Table•3 minutes
- Insert Data•3 minutes
- Update Data•2 minutes
- Delete Data•1 minute
- Create One to Many Relationship•6 minutes
- Add Data to One to Many Relationship•4 minutes
- Query One to Many Relationship•3 minutes
- Create Many to Many Relationship•7 minutes
- Add Data to Many to Many Relationship•3 minutes
- Query Many to Many Relationship•2 minutes
- Query All Data•2 minutes
1 assignment•Total 15 minutes
- Databases with Flask SQLAlchemy - Assessment•15 minutes
In this module, we will explore best practices for structuring and scaling Flask applications. You will learn how to organize projects beyond a single file using app factories and modular design. This section also introduces blueprints to help you build maintainable and reusable application components.
What's included
3 videos1 assignment
3 videos•Total 16 minutes
- App Factories•4 minutes
- Organizing Projects Beyond a Single File•9 minutes
- Blueprints•3 minutes
1 assignment•Total 15 minutes
- Structuring Flask Apps - Assessment•15 minutes
In this module, we will build a complete registration application using Flask. You will learn how to design models, manage form submissions, and securely store user data. The section also covers updating records, loading existing data, and handling errors to improve user experience.
What's included
11 videos1 assignment
11 videos•Total 74 minutes
- Setup Project and Display Template•6 minutes
- Setting Up The Models•10 minutes
- Setup Database•3 minutes
- Seed Topic and Language Data•5 minutes
- Setup Password Hash•3 minutes
- Verify Form Data is Being Submitted•11 minutes
- Load Languages and Topics•4 minutes
- Save Data From Form•8 minutes
- Load Existing Data•12 minutes
- Update Database With New Data•5 minutes
- Error Handling•7 minutes
1 assignment•Total 15 minutes
- Registration App - Assessment•15 minutes
In this module, we will explore how to build and test a RESTful API for the registration system. You will learn how to handle JSON data, organize API files, and implement routes for CRUD operations. This section also demonstrates how to test endpoints using Postman to ensure API reliability.
What's included
7 videos1 assignment
7 videos•Total 28 minutes
- Postman•0 minutes
- Organize Files•2 minutes
- Add JSON to Method•4 minutes
- Get Members Route•5 minutes
- Get One Member•1 minute
- Create a Member•10 minutes
- Edit a Member•5 minutes
1 assignment•Total 15 minutes
- Registration API - Assessment•15 minutes
In this module, we will build a fully functional dashboard application with dynamic data visualization. You will learn how to structure templates, write database queries, and display insights using charts and tables. The section also introduces authentication, route protection, and form validation for secure applications.
What's included
28 videos1 assignment
28 videos•Total 158 minutes
- Overview of Templates•1 minute
- Setup Flask App and Templates•10 minutes
- Create Models for Dashboard•8 minutes
- Command to Create Tables•5 minutes
- Add Data Into Database•11 minutes
- Overview of Queries We Need•3 minutes
- Writing the Queries Part One•10 minutes
- Writing the Queries Part Two•3 minutes
- Writing the Queries Part Three•5 minutes
- Writing the Queries Part Four•3 minutes
- Add the Card Values•6 minutes
- Add the Revenue Goals•9 minutes
- Work With Area Chart•10 minutes
- Work With Pie Chart•10 minutes
- Work With Bar Chart•6 minutes
- Fill in Order Table•6 minutes
- Setup Flask Login•5 minutes
- Protecting the Routes•4 minutes
- Register a User•8 minutes
- Log In User•6 minutes
- Add Password Hashing•4 minutes
- Log Out User•3 minutes
- Update Link•3 minutes
- Add Current User Name•2 minutes
- Add Remember Me•2 minutes
- Format Numbers and Dates•4 minutes
- Fix Pie Chart Numbers•2 minutes
- Form Validation•7 minutes
1 assignment•Total 15 minutes
- Dashboard App - Assessment•15 minutes
Flask Fundamentals, App Basics, and Food Tracker AppFlask Fundamentals, App Basics, and Food Tracker AppIn this module, we will build and deploy a real-world food tracker application using Flask. You will learn how to store food data, calculate daily nutritional totals, and display results in a user-friendly interface. The module concludes with code refactoring and deploying the application to an Amazon Lightsail server.
What's included
21 videos1 reading3 assignments
21 videos•Total 114 minutes
- Demo•1 minute
- The Starting HTML Files•2 minutes
- Adding Templates•6 minutes
- Creating the Database•4 minutes
- Adding Database Helpers•2 minutes
- Working With The Food Form•6 minutes
- Inserting Food Data Into Database•6 minutes
- Display All Foods in Database•4 minutes
- Inserting the Date•10 minutes
- Query All Dates•6 minutes
- Day Screen•13 minutes
- Add Food to Database•4 minutes
- Get List Of Foods For Day•6 minutes
- Getting Food Totals For Day•4 minutes
- Links•6 minutes
- Sum Totals Per Day•8 minutes
- Adding Links•2 minutes
- Refactor•9 minutes
- Deployment Server Setup on Amazon Lightsail•10 minutes
- Deploy To Amazon Lightsail Server•4 minutes
- Errata•2 minutes
1 reading•Total 10 minutes
- Conclusion to the Course 'Flask Fundamentals, App Basics, and Food Tracker App'•10 minutes
3 assignments•Total 90 minutes
- Food Tracker App - Assessment•15 minutes
- Full Course Assessment•60 minutes
- Full Course Practice Assessment•15 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor
Explore more from Mobile and Web Development
Why people choose Coursera for their career
Frequently asked questions
Flask is a lightweight and flexible web framework for Python that allows developers to build web applications quickly and with minimal setup. It is relevant because it is widely used for developing small to medium-sized web applications and APIs. Flask's simplicity, combined with its scalability, makes it a great choice for developers looking to create custom web applications or API services.
This course, "Flask Fundamentals, App Basics, and Food Tracker App," provides a comprehensive introduction to building web applications using Flask. It covers the basics of Flask, routing, templating, working with databases using SQLAlchemy, and how to create various types of applications like a registration app, dashboard app, and a food tracker app. You’ll gain practical experience by building and deploying real-world applications.
After completing this course, you will be able to build and deploy web applications using Flask. You will learn to work with databases, create user authentication systems, handle forms, and display dynamic content with templates. You’ll also have the skills to set up Flask applications, structure them efficiently, and deploy them to platforms like Amazon Lightsail and Heroku.
More questions
Financial aid available,
