Skip to content

This is a simple web authentication system built with Flask. It provides functionalities for user registration, login, and session management using Flask-Login, Flask-Bcrypt, and Flask-SQLAlchemy.

License

Notifications You must be signed in to change notification settings

M-thefl/web-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

**# web-authentication This is a simple web authentication system built with Flask. It provides functionalities for user registration, login, and session management using Flask-Login, Flask-Bcrypt, and Flask-SQLAlchemy. **# Flask Web Authentication

Features

  • User registration with hashed password storage
  • Secure user login with session management
  • User dashboard and profile pages
  • Protected routes for logged-in users
  • Flash messages for feedback
  • SQLite database for data storage

Installation

  1. Clone the repository:
    git clone https://github.com/M-thefl/web-authentication.git
    cd web authentication
    pip install -r requirements.txt
     
    

Usage

Command Line Usage:

python app.py
  • Navigate to /register to create a new user account.
  • Use /# to log in with your credentials.
  • Access the /dashboard and /profile routes after logging in.
  • Log out using /logout.

File Structure

  • app.py: Main application logic and routes
  • templates/: HTML templates for rendering views
  • index.html: Home page
  • register.html: Registration page
  • login.html: Login page
  • dashboard.html: User dashboard
  • profile.html: User profile page
  • site.db: SQLite database file (generated after running the app)
  • requirements.txt: List of dependencie

Dependencies

  • Flask
  • Flask-WTF
  • Flask-SQLAlchemy
  • Flask-Bcrypt
  • Flask-Login

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🖋 Contact

If you have any questions or suggestions, feel free to contact me at Mahbodfl1@gmail.com

good luck (; 🌙

About

This is a simple web authentication system built with Flask. It provides functionalities for user registration, login, and session management using Flask-Login, Flask-Bcrypt, and Flask-SQLAlchemy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published