This project is a Flask-based web application built using Python for backend functionality and HTML, CSS, and JavaScript for the frontend. The project implements user login and signup functionality and is deployed on Vercel for production.
- User Authentication: Secure login and signup functionality.
- Frontend Design: Built using HTML, CSS, and JavaScript for a clean and user-friendly interface.
- Backend API: Python and Flask handle routing and user data management.
- Deployment: Deployed on Vercel for high availability and performance.
flask-login-signup/
├── api/
│ ├── app.py # Main Flask application file
├── templates/
│ ├── index.html # Frontend for the home page
│ ├── signup.html # Frontend for the both login and signup page
├── static/
│ ├── css/
│ │ ├── styles.css # Styling for the application(optional[you can write HTML,CSS and JS in index.html])
│ ├── js/
│ │ ├── app.js # JavaScript functionality
├── requirements.txt # Python dependencies
├── vercel.json # Vercel deployment configuration
- Flask (Python)
- HTML
- CSS
- JavaScript
- Vercel
-
Clone the repository:
git clone [mubashir1837](https://github.com/mubashir1837/Flask-Authentication-System-With-HTML-Frontend.git)
-
Navigate to the project directory:
cd Flask-Authentication-System-With-HTML-Frontend
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the Flask application:
python app.py
-
Open your browser and visit:
http://localhost:5000
-
Install the Vercel CLI globally:
npm install -g vercel
-
Login to Vercel:
vercel login
-
Deploy the project:
vercel
-
Follow the prompts to complete the deployment process.
Add a vercel.json
file for proper deployment:
{
"version": 2,
"builds": [
{
"src": "app.py",
"use": "@vercel/python"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "app.py"
}
]
}
- Add password recovery functionality.
- Implement user profiles.
- Enhance frontend design with a modern UI framework (e.g., Bootstrap).
- Use a database like PostgreSQL for better scalability.
For any questions or feedback, reach out to:
- Name: Mubashir Ali
- Email: mubashirali1837@gmail.com