https://github.com/lpcodes/flaskdummylogin
This is a simple user authentication system built using Flask, a lightweight web framework for Python.
https://github.com/lpcodes/flaskdummylogin
flask flask-application flask-login
Last synced: 15 days ago
JSON representation
This is a simple user authentication system built using Flask, a lightweight web framework for Python.
- Host: GitHub
- URL: https://github.com/lpcodes/flaskdummylogin
- Owner: LpCodes
- Created: 2022-08-30T12:41:48.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-20T04:57:20.000Z (almost 3 years ago)
- Last Synced: 2025-03-12T20:11:20.133Z (10 months ago)
- Topics: flask, flask-application, flask-login
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask User Authentication System
This is a simple user authentication system built using Flask, a lightweight web framework for Python.
## Features
- Login and registration
- User sessions and session management
- Profile page
- Login required decorator
## Requirements
- Python 3
- Flask
## Installation
1. Clone this repository or download the zip file.
2. Navigate to the project directory.
3. Run the command pip install -r requirements.txt to install the required dependencies.
4. Run the command python app.py to start the Flask server.
5. Open your web browser and navigate to http://localhost:5000/.
## Usage
1. Once you have the server running, you can register a new user by visiting http://localhost:5000/register.
2. After registering, you can log in at http://localhost:5000/login.
3. After logging in, you will be redirected to your profile page at http://localhost:5000/profile, where you can see your username.
4. You can also log out by visiting http://localhost:5000/logout.