Flask in Python: User Authentication in a Flask Application

Flask 1.1
  • 14 Videos | 1h 39m 15s
  • Includes Assessment
  • Earns a Badge
Likes 13 Likes 13
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 course
    install SQL Alchemy and use it to connect the Flask application to a SQLite database
    use SQL Alchemy to generate relational database tables for each model defined in your application
    execute queries against tables using a SQLAlchemy model
    separate the model definitions, routes, and app initialization into separate files that are easier to maintain
    modify the import statements to account for the restructuring of the Flask app and test that the functionality has not been affected
    use the Bcrypt package to generate hashes of passwords so that they can be stored securely
  • create a bespoke validator for fields in your WTForms
    install and use a Flask extension to allow users to login to your Flask app and maintain a login session
    implement the logout feature so that users can sign out of a Flask app
    access and display the three most recent reviews posted on your Flask web site
    test that the feedback display functionality implemented works as expected
    configure your Flask web site to display images loaded from the app's static resources
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 14s
    UP NEXT
  • Playable
    2. 
    Introducing SQL Alchemy
    8m 57s
  • Locked
    3. 
    Creating Tables from Model Definitions
    4m 12s
  • Locked
    4. 
    Executing Queries Using SQLAlchemy Models
    7m 59s
  • Locked
    5. 
    Structuring a Flask Application for Maintenance
    9m 2s
  • Locked
    6. 
    Restructuring a Flask Application
    5m 16s
  • Locked
    7. 
    Creating Password Hashes Using Bcrypt
    8m 29s
  • Locked
    8. 
    Defining Custom Validators for Form Fields
    9m 25s
  • Locked
    9. 
    Enabling Users to Login to a Flask Application
    7m 33s
  • Locked
    10. 
    Allowing Users to Log Out of a Flask Application
    5m 23s
  • Locked
    11. 
    Displaying the Latest Reviews Submitted
    7m 42s
  • Locked
    12. 
    Testing Feedback Display Functionality
    6m 16s
  • Locked
    13. 
    Using Images in your Flask Web Site
    9m 36s
  • Locked
    14. 
    Course Summary
    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 of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE