A simple to-do list web application built with Flask and SQLAlchemy. It allows users to add, delete, and update tasks.
![Screenshot](https://private-user-images.githubusercontent.com/5243849/400951599-fcdd34e3-6fc1-4b54-ad88-80d3e0eed758.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NjQ1MTMsIm5iZiI6MTczOTY2NDIxMywicGF0aCI6Ii81MjQzODQ5LzQwMDk1MTU5OS1mY2RkMzRlMy02ZmMxLTRiNTQtYWQ4OC04MGQzZTBlZWQ3NTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDAwMzMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjNlNzhiYWYxNjFiMzcxYWJlNzBmNjFkOTJiYjA0M2QxNmY2ZDc1ZjRhYmZhNmE5Y2E1Mjg0Zjk2Y2VlMWJkZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.J3Ji1MWh_nwOLjbxANoNAqgpD7yFVHASvWjXqMYeESA)
The application requires the following Python packages:
- blinker==1.9.0
- click==8.1.8
- colorama==0.4.6
- Flask==3.1.0
- Flask-SQLAlchemy==3.1.1
- itsdangerous==2.2.0
- Jinja2==3.1.5
- MarkupSafe==3.0.2
- repoze.lru==0.7
- six==1.17.0
- SQLAlchemy==2.0.36
- typing_extensions==4.12.2
- Werkzeug==3.1.3
Install them via:
pip install -r requirements.txt
Run the application with:
python app.py
Open your browser at http://127.0.0.1:5000/ to access the app.
- Action: Enter the task title in the input field and click Hinzufügen.
- Result: The new task appears in the list.
- Action: Click Löschen next to the task.
- Result: The task is removed from the list.
- Action: Click Erledigen next to a task.
- Result: The task moves to the completed tasks section.
- Action: Click Wiederherstellen next to a completed task.
- Result: The task returns to the active tasks section.
- app.py
The main Flask application file, containing routes, the database model, and app initialization. - requirements.txt
Lists all the required Python packages for this project. - app.js
JavaScript file handling add, delete, complete, and restore task actions. - style.css
CSS file defining the application’s styling. - index.html
The main HTML template for rendering the to-do list interface. - .gitignore
Specifies files and directories that Git should ignore (e.g.,__pycache__
,.venv
, etc.).
This project is licensed under the MIT License.