Flask in Python: User Authentication in a Flask Application
Flask
| 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
-
2m 14s
-
8m 57sFind out how to install SQL Alchemy and use it to connect the Flask application to a SQLite database. FREE ACCESS
-
4m 12sFind out how to use SQL Alchemy to generate relational database tables for each model defined in your application. FREE ACCESS
-
7m 59sIn this video, you will learn how to execute queries against tables using SQLAlchemy. FREE ACCESS
-
9m 2sIn this video, you will learn how to separate the model definitions, routes, and app initialization into separate files. This will make it easier to maintain your project. FREE ACCESS
-
5m 16sIn this video, you will modify the import statements to account for the restructuring of the Flask app and test that the functionality has not been affected. FREE ACCESS
-
8m 29sDuring this video, you will learn how to use the Bcrypt package to generate hashes of passwords so that they can be stored securely. FREE ACCESS
-
9m 25sLearn how to create a custom validator for fields in your WTForms. FREE ACCESS
-
7m 33sIn this video, you will install and use a Flask extension to allow users to login to your Flask app and maintain a login session. FREE ACCESS
-
5m 23sDuring this video, you will learn how to implement the logout feature so that users can sign out of a Flask app. FREE ACCESS
-
7m 42sIn this video, learn how to access and display the three most recent reviews posted on your website. FREE ACCESS
-
6m 16sLearn how to test that the feedback display functionality works as expected. FREE ACCESS
-
9m 36sLearn how to configure your Flask web site to display images loaded from the app's static folder. FREE ACCESS
-
1m 12s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.