Skip to content

A simple Flask authentication example using Flask-Login.

Notifications You must be signed in to change notification settings

riad-azz/flask-auth-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Authentication Example

This repository provides an example implementation of user authentication using Flask-Login, demonstrating how to build a simple web application with user registration, login.

Features

  • User registration and login functionality.
  • Password hashing for enhanced security.
  • Flash messages for user feedback.

Preview

  • Logged in:

Logged in page

  • Registration page:

Registration page

  • Login page:

Login page

Getting Started

1.Clone the repository to your local machine:

git clone https://github.com/riad-azz/flask-auth-example && cd flask-auth-example

2.Install the required dependencies:

pip install -r requirements.txt

3.The application can be run with the following command:

python main.py

Open your web browser and navigate to http://localhost:5000 to access the application.