https://github.com/shrishmaruge/flask-login-app
This is a secure and modern Flask-based user authentication system with full signup, login, logout, and session management functionality. It connects to a MySQL database
https://github.com/shrishmaruge/flask-login-app
dashboard flask login-system mysql-database python3
Last synced: about 2 months ago
JSON representation
This is a secure and modern Flask-based user authentication system with full signup, login, logout, and session management functionality. It connects to a MySQL database
- Host: GitHub
- URL: https://github.com/shrishmaruge/flask-login-app
- Owner: ShrishMaruge
- License: other
- Created: 2025-06-15T09:30:28.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-15T10:10:08.000Z (about 1 year ago)
- Last Synced: 2025-06-15T10:47:56.845Z (about 1 year ago)
- Topics: dashboard, flask, login-system, mysql-database, python3
- Language: HTML
- Homepage: https://flask-login-app-kn5d.onrender.com/login
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ Flask Login System with MySQL
A fully functional Flask-based login system with MySQL database integration. This project allows users to register, log in, and manage sessions securely using password hashing and Bootstrap-styled UI.
---
## ๐ Live Demo
[]([[https://your-deployed-link.onrender.com](https://flask-login-app-kn5d.onrender.com)](https://flaskloginappkn5d.onrender.com))
LIVE Link : [https://flask-login-app-kn5d.onrender.com](https://flask-login-app-kn5d.onrender.com/login)
---
## ๐ก Features
- ๐งพ Signup & Login with validation
- ๐ Secure password hashing (Werkzeug)
- ๐ผ MySQL database integration
- ๐ฆ Flash messaging for feedback
- ๐ง Session-based access control
- ๐จ Clean Bootstrap 5 UI
- โ ๏ธ Alerts for login/signup status
- ๐ช Logout functionality
---
| Login Page | Signup Page | Dashboard |
| ------------------------------- | --------------------------------- | ----------------------------- |
|  |  |  |
---
## ๐ Tech Stack
| Layer | Technology |
|----------------|------------------------------|
| Framework | Flask |
| Language | Python 3 |
| Database | MySQL |
| Frontend | HTML5, CSS3, Bootstrap 5 |
| Authentication | Werkzeug security utils |
| Deployment | Render / Railway / Localhost |
---
## โ๏ธ Clone the repo
git clone https://github.com/ShrishMaruge/flask-login-app.git
cd flask-login-app
---
## ๐ฆ Install dependencies
pip install -r requirements.txt
---
## ๐ Set up .env (optional)
If you add python-dotenv, store sensitive data like this in .env:
FLASK_SECRET_KEY=supersecretkey
MYSQL_USER=root
MYSQL_PASSWORD=your_password
MYSQL_DB=Login
---
## ๐๏ธ MySQL Database Setup
CREATE DATABASE Login;
USE Login;
CREATE TABLE register (
username VARCHAR(30) PRIMARY KEY,
password VARCHAR(255)
);
---
## โ๏ธ License
This project is licensed under the Apache License 2.0
ยฉ 2025 Shrish Maruge
## ๐โโ๏ธ Author
Shrish Maruge
๐ซ Connect with me on GitHub
---
## ๐ Project Structure
```bash
flask-login-app/
โโโ static/
โ โโโ style.css
โโโ templates/
โ โโโ base.html
โ โโโ home.html
โ โโโ login.html
โ โโโ signup.html
โโโ app.py
โโโ requirements.txt
โโโ .gitignore
โโโ LICENSE
โโโ README.md