Turn any codebase into beautiful architecture diagrams — one command, no AI, no server, runs on any laptop. Zero dependencies, pure Python, agent-friendly (Cursor, Claude Code, Codex, OpenCode).
Login-Register-System-with-Flask-SQLite
Secure Login & Register System built with Flask + SQLite featuring authentication, password hashing, sessions, and protected dashboards for real-world web apps.
- Stars
- 1
- Forks
- 0
- Created
- Feb 3, 2026
- Last push
- Sep 9, 2026
- Last commit
- Sep 9, 2026
- Contributors
- 0
README
dsk-dev-ai/Login-Register-System-with-Flask-SQLite🔐 Login & Register System (Flask + SQL)
A modern authentication system built with Flask and SQLite.
This project demonstrates how real websites handle:
- User registration
- Secure login
- Password hashing
- Sessions
- Protected dashboard
- SQL database storage
Perfect foundation for SaaS apps, dashboards, admin panels, and AI tools with accounts.
✨ Features
✅ Register new users
✅ Login authentication
✅ Password hashing (secure)
✅ SQLite database
✅ Session management
✅ Protected routes
✅ Logout system
✅ Modern responsive UI
🛠 Tech Stack
- Python
- Flask
- SQLite
- HTML/CSS
- Werkzeug security
📸 Screenshot
▶️ Run Locally
1. Install dependencies
pip install flask werkzeug
- Start server
python app.py
- Open browser http://127.0.0.1:5000
🧪 Tests
pip install -r requirements-dev.txt
python -m pytest -q
Tests cover registration (validation, persistence, duplicate user), login (valid/invalid credentials, 5-attempt lockout, attempt reset on success), session-protected dashboard, logout, and guest redirects, using an isolated SQLite database per run. CI runs the suite on every push.
🧠 What I Learned
- Building authentication systems
- Working with SQL databases
- Password hashing & security
- Sessions & cookies
- Backend development with Flask
👨💻 Author
Darshan Kachare
AI Developer • SaaS Builder • Automation Tools
Related projects
Free, private image-to-text (OCR). Web UI, REST API & CLI in one repo — FastAPI + RapidOCR (ONNX). No API keys, nothing stored.
Open-source AI platform for genomics & bioinformatics — 18 free public genome research tools
177 merged pull requests across 19 repositories · data generated Oct 7, 2026