A simple Todo app built using Flask, a web framework for Python.
- Users can login and logout
- Users can view their Todos
- Users can create new Todos
- Users can edit and delete existing Todos
- Clone the repository
git clone https://github.com/<your-username>/todo-app.git
- Create a virtual environment and activate it
python3 -m venv venv
source venv/bin/activate
- Install the dependencies
pip install -r requirements.txt
- Run the app
export FLASK_APP=app.py
flask run
- Open a web browser and go to
http://localhost:5000
- Click on the Login button, enter the username and password
- You will be redirected to the index page where you can see your Todos
- You can add new Todos, edit or delete existing ones
- You can logout by clicking on the Logout button
You can configure the app by editing the config.py
file.
This project is licensed under the MIT License.
The author of this project is Jonathan
This code is only an example, and should not be used in production, it has security vulnerabilities and is not suitable for production use.