https://github.com/sahirc22/flask-auth-webapp
This project is a Flask-based user authentication system that includes registration, login, and dashboard access. The system ensures secure user authentication using Flask, SQLite, and Werkzeug for password hashing. The front-end is designed with Bootstrap 5 to provide a modern and responsive UI.
https://github.com/sahirc22/flask-auth-webapp
application css flask html login-page registration-system web
Last synced: 7 months ago
JSON representation
This project is a Flask-based user authentication system that includes registration, login, and dashboard access. The system ensures secure user authentication using Flask, SQLite, and Werkzeug for password hashing. The front-end is designed with Bootstrap 5 to provide a modern and responsive UI.
- Host: GitHub
- URL: https://github.com/sahirc22/flask-auth-webapp
- Owner: SahirC22
- License: mit
- Created: 2025-02-27T16:18:30.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-02-27T16:38:14.000Z (7 months ago)
- Last Synced: 2025-02-27T23:29:36.245Z (7 months ago)
- Topics: application, css, flask, html, login-page, registration-system, web
- Language: HTML
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flask Authentication System
A **secure user authentication system** built using Flask, SQLite, and Bootstrap 5. This project includes **user registration, login, session management, and a dashboard**.
## 🚀 Features
- **User Registration:** Create an account with a username, email, and password.
- **Secure Login:** Passwords are hashed using Werkzeug.
- **Session Management:** Users stay logged in until they log out.
- **Responsive UI:** Bootstrap 5 for a modern and mobile-friendly design.
- **Logout Functionality:** Users can securely log out.## 🛠️ Tech Stack
- **Backend:** Flask (Python)
- **Database:** SQLite
- **Frontend:** HTML, CSS, Bootstrap 5
- **Security:** Password hashing with Werkzeug## 📂 Project Structure
/flask_auth_app
│── app.py # Main Flask application
│── database.db # SQLite database
│── /static
│ ├── styles.css # Custom CSS for styling
│── /templates
│ ├── base.html # Base template for layout
│ ├── home.html # Homepage
│ ├── register.html # Registration page
│ ├── login.html # Login page
│ ├── dashboard.html # User dashboard
│── README.md # Project documentation
│── LICENSE # License file
│── .gitignore # Git ignore file## 🎯 Installation & Setup
1. **Clone the repository**
```bash
git clone https://github.com/SahirC22/flask-auth-Webapp.git
cd flask-auth-Webapp2. **Create a virtual environment**
#Mac and Linux:
```bash
python -m venv venvsource venv/bin/activate
```
#Windows:
```bash
venv\Scripts\activate
```3. **Install dependencies**
```bash
pip install flask flask_sqlalchemy werkzeug
```
4. **Run the application**
```bash
python app.py
```
5. **Open in your Browser**
http://127.0.0.1:5000🛡️ Security Features
• Hashed Passwords: Passwords are stored securely using Werkzeug hashing.
• Session-Based Authentication: Only logged-in users can access the dashboard.
• Form Validation: Prevents SQL Injection and XSS attacks.🌟 Future Enhancements
• Google OAuth Login
• Email Verification
• Profile Page for Users
• Two-Factor Authentication (2FA)This project is licensed under the MIT License.
🤝 Contributing
Feel free to fork this project and make improvements! Open a pull request if you add any features.
📞 Contact
For any queries, reach out to:
✉️ Email: rajsahir001@gmail.com
🔗 GitHub: SahirC22
---