Learning Flask

Get started with Flask, a powerful web framework for Python that's easy to learn and use
3.6 (7 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
94 students enrolled
80% off
Take This Course
  • Lectures 38
  • Length 1.5 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 8/2015 English

Course Description

With a growing skills gap, the need for talented developers is greater than ever before. A basic grounding in building apps with a framework as minimalistic, powerful, and easy-to-learn as Flask will be a useful skill to launch you on a career as an entrepreneur or web developer. Flask is a Python micro-framework that makes web application development as easy as saying it.

This course will give you a basic grounding in the fundamental concepts of web development, as well as the hands-on experience you require to successfully build web apps with Flask.

We'll start by turning your computer into a modern development machine. Next, we'll move beyond static websites and develop a powerful database-backed dynamic Flask app. We won't stop there, because we'll also cover how to implement a full authentication system.

Finally, we'll extend the app's functionality by learning how to integrate it with third-party APIs.

When you finish this course, you will be fully equipped to build your very own custom web apps.

About the Author

Lalith Polepeddi has been working with Flask since discovering it to be an easy way to learn about web development. He's written about Flask for Tuts+ and TechPro. Aside from Flask, Lalith is interested in applying computer science to address problems in parallel domains, such as biology.

What are the requirements?

  • Some basic familiarity with Python will help you understand the code more easily.

What am I going to get from this course?

  • Set up a development environment with all the necessary software to develop Flask apps
  • Create robust databases with PostgreSQL to safely store user data for your dynamic websites
  • Build an authentication and authorization system using Flask-Login and Flask-Oauth to protect your pages from improper access
  • Use Flask extensions such as Flask-Gravatar, Flask SSLify, and more to add a wide range of functionalities to your app
  • Integrate the Wikipedia API to build a location-based service

Who is the target audience?

  • This video course is for new developers who want to explore Flask and build custom web applications quickly and easily.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Setting Up the Environment

This video will offer the overview of the course.


Before we start, we will need a text editor to edit our code.


We will need a command-line interface for communication with the system.


To handle our project efficiently, we need a version control system.


We will need to install a database in order to save our app's data.


We will need to install a virtual environment where we can install Flask.


To make our app available to users, we need to create a deployment environment.


A review of the tools installed.

Section 2: Getting Started

Setting up the folders and files needed for a Flask app.


Taking a look at how the files and folders together form the project structure.


To understand the Request-Response cycle, we will implement a static page.


To write less boilerplate, we will use web templates.


To actually see the home page, we will implement a controller.


To style the HTML, we will need CSS.


To back up our code, we will need to push it to GitHub.


To view the app, we will deploy the code to Heroku.


To practice the repeatable workflow, from creating a home page to deploying it to Heroku again, we will implement another static page.


We will put the process from creating a home page to saving it to Github into context.

Section 3: Storing Data

Creating a "users" table in the "learningflask" database.


Connecting the Flask app to Postgres using Flask-SQLAlchemy.


Creating a User model to communicate with the "users" table.

Section 4: Signing Up

To make web forms, we need to use Flask-WTF.


Writing the form's backend using Flask-WTF.


Writing the form's frontend in a web template.


To check for incorrectly submitted form data, we will use validators.


Getting more practice in writing validators.


If the form data is valid, we need to save it in the users table.

Section 5: Logging In and Logging Out

In this video, we will talk about sessions that are very important to sign a user in.


The sign in form allows users to sign in to the app using their credentials. In this video, we'll write the sign in form's backend and frontend.


Signing out essentially means ending a session. In this video, we'll take a look at how to do this.

Section 6: Authorization/User Roles

The app we have created still has two flaws with regard to security. In this video, we'll take a look at these issues.


In our app, users can still access the home page without logging in. In this video, we'll see how to avoid this.


Once logged in, the signup page is still visible to the users. In this video, we'll solve this issue.

Section 7: Bookmarking Places

We'll take a look at how to implement the location-based feature of the app.


We'll add an address form to our home page.


We'll take a look at how to query an address in order to find places near it.


In this video, we'll render the places we need on the map.


In this video, we'll be wrapping and concluding our course.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Packt Publishing, Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.

Ready to start learning?
Take This Course