An open API service indexing awesome lists of open source software.

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.

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.