This repository showcase user authentication using Flask-Login, demonstrating a simple web application with user registration, login and de-register(delete user), loged in user can add task with to-do, in-progress and completed status. Also able to change task detail afterward.
- User registration and login functionality.
- Password hashing for enhanced security.
- Flash messages for user feedback.
- Reuseable code for task creation and update
1.Clone the repository to your local machine:
git clone https://github.com/debolina-seal/flask.git
cd flask2.Install the required dependencies:
pip install -r requirements.txt3.The application can be run with the following command:
python main.pyOpen your web browser and navigate to http://localhost:5000 to access the application.
flask/
├── app/ # Core application module
│ ├── init.py
│ ├── extentions.py
│ ├── models.py
│── auth/ # Module to handle authentication
│ ├── init.py
│ ├── forms.py
│ ├── routes.py
│── task/ # Module to handle task
│ ├── init.py
│ ├── forms.py
│ ├── routes.py
├── templete/ # Frontend code
│ ├── auth/
│ │ ├── login.html
│ │ ├── register.html
│ ├── base.html
│ ├── index.html
│ ├── task.html
│── instance/
│ ├── database.db
├── main.py # File to run application
├── requirements.txt # Dependency to install
└── README.md # This file