Skip to content

A Flask-based login and signup application with a frontend built using HTML, CSS, and JavaScript. The project supports user authentication and is deployed on Vercel for production. Ideal for learning Flask and implementing user authentication systems.

License

Notifications You must be signed in to change notification settings

mubashir1837/Flask-Python-HTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Login and Signup Project

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.


Features`

  • 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.

Project Structure

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

Technologies Used

Backend:

  • Flask (Python)

Frontend:

  • HTML
  • CSS
  • JavaScript

Deployment:

  • Vercel

Installation and Running Locally

  1. Clone the repository:

    git clone [mubashir1837](https://github.com/mubashir1837/Flask-Authentication-System-With-HTML-Frontend.git)
  2. Navigate to the project directory:

    cd Flask-Authentication-System-With-HTML-Frontend
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Run the Flask application:

    python app.py
  5. Open your browser and visit:

    http://localhost:5000
    

Deployment on Vercel

Steps:

  1. Install the Vercel CLI globally:

    npm install -g vercel
  2. Login to Vercel:

    vercel login
  3. Deploy the project:

    vercel
  4. Follow the prompts to complete the deployment process.

Vercel Configuration:

Add a vercel.json file for proper deployment:

{
  "version": 2,
  "builds": [
    {
      "src": "app.py",
      "use": "@vercel/python"
    }
  ],
  "routes": [
    {
      "src": "/(.*)",
      "dest": "app.py"
    }
  ]
}

Project Demo

Live Demo:

Screenshots:

Home Page:

Home Page

Login Page:

Login Page

Signup Page:

Signup Page

Video Demo:

Watch the Demo


Future Enhancements

  • 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.

Contact

For any questions or feedback, reach out to:

About

A Flask-based login and signup application with a frontend built using HTML, CSS, and JavaScript. The project supports user authentication and is deployed on Vercel for production. Ideal for learning Flask and implementing user authentication systems.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published