https://github.com/methupaperera/flask-login
An example login-system made with Flask and SQLAlchemy.
https://github.com/methupaperera/flask-login
flask login-system python sqlalchemy
Last synced: about 1 month ago
JSON representation
An example login-system made with Flask and SQLAlchemy.
- Host: GitHub
- URL: https://github.com/methupaperera/flask-login
- Owner: methupaPerera
- Created: 2024-01-02T03:52:53.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-12T02:39:25.000Z (over 1 year ago)
- Last Synced: 2025-03-27T12:16:26.237Z (over 1 year ago)
- Topics: flask, login-system, python, sqlalchemy
- Language: Python
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# đ Flask Login System with SQLAlchemy Database đ
This repository contains an example login system built using Flask and SQLAlchemy Database.
đ Don't forget to star â this repository if you find it helpful! đ
## âšī¸ How to run the app
- Clone the repository.
```
git clone https://github.com/methupaPerera/flask-login.git
```
- Install the necessary packages.
```
pip install -r requirements.txt
```
- Run the app.
```
python main.py
```
## đ File Structure
The project is structured as follows:
### đ Structure Details:
- **app**: Contains the main application files.
- **templates**: HTML templates for different views.
- **auth**: Templates for login and signup functionalities.
- **__init__.py**: Creates the Flask application.
- **auth.py**: Handles authentication logic.
- **models.py**: Includes database models using SQLAlchemy.
- **views.py**: Contains the routes and views for the application.
- **utils.py**: Utility functions used across the application.
- **main.py**: Entry point of the application.
- **requirements.txt**: Lists the required dependencies for the project.
- **.gitignore**: Specifies files and directories to be ignored by Git.
- **README.md**: The file you're currently viewing, providing information about the project.
>Feel free to explore the respective directories and well commented files to understand the implementation of the Flask login system utilizing SQLAlchemy for the database functionality.