Flask in Python: User Authentication in a Flask Application
Flask 1.1
| Intermediate
- 14 Videos | 1h 33m 15s
- Includes Assessment
- Earns a Badge
In this 14-video course, titled "User Authentication in Flask Applications," you will begin with an introduction to SQL Alchemy, then install it and use it to connect the Flask application-a widely used web framework written in Python language-to a SQLite database. You will observe how to use SQL Alchemy to generate relational database tables for each model defined in an application; execute queries against tables by using a SQL Alchemy model; and how to structure a Flask application for maintenance. Then you will modify import statements to account for restructuring of Flask app and test that functionality has not been affected. Use Bcrypt package to generate hashes of passwords so that they can be stored securely, and create a bespoke validator for fields in your WTForms. Next, learn how to enable users to log in and log out of a Flask application. You will access and display the three most recent reviews posted on your Flask website; learn how to test feedback display functionality; and display images in your Flask website.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this courseinstall SQL Alchemy and use it to connect the Flask application to a SQLite databaseuse SQL Alchemy to generate relational database tables for each model defined in your applicationexecute queries against tables using a SQLAlchemy modelseparate the model definitions, routes, and app initialization into separate files that are easier to maintainmodify the import statements to account for the restructuring of the Flask app and test that the functionality has not been affecteduse the Bcrypt package to generate hashes of passwords so that they can be stored securely
-
create a bespoke validator for fields in your WTFormsinstall and use a Flask extension to allow users to login to your Flask app and maintain a login sessionimplement the logout feature so that users can sign out of a Flask appaccess and display the three most recent reviews posted on your Flask web sitetest that the feedback display functionality implemented works as expectedconfigure your Flask web site to display images loaded from the app's static resourcessummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 14sUP NEXT
-
2.Introducing SQL Alchemy8m 57s
-
3.Creating Tables from Model Definitions4m 12s
-
4.Executing Queries Using SQLAlchemy Models7m 59s
-
5.Structuring a Flask Application for Maintenance9m 2s
-
6.Restructuring a Flask Application5m 16s
-
7.Creating Password Hashes Using Bcrypt8m 29s
-
8.Defining Custom Validators for Form Fields9m 25s
-
9.Enabling Users to Login to a Flask Application7m 33s
-
10.Allowing Users to Log Out of a Flask Application5m 23s
-
11.Displaying the Latest Reviews Submitted7m 42s
-
12.Testing Feedback Display Functionality6m 16s
-
13.Using Images in your Flask Web Site9m 36s
-
14.Course Summary1m 12s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.