This To-Do App allows users to manage their tasks efficiently. It provides functionality to add, view, and delete tasks, with an option to set due dates and countdown timers.
- Add New Tasks: Users can add new tasks with an optional due date.
- View Tasks: Active tasks and completed tasks are displayed separately.
- Task Countdown: Displays a countdown timer for tasks with due dates.
- Mark Tasks as Complete: Users can mark tasks as complete.
- Delete Tasks: Users can delete both active and completed tasks.
- Clone the repository:
git clone https://github.com/yourusername/todo-app.git
- Navigate to the project directory:
cd todo-app
- Install the required dependencies:
pip install -r requirements.txt
- Run the application:
python main.py
- Open your web browser and navigate to:
http://localhost:5000
main.py
: The main Python file that runs the Flask application.templates/index.html
: The HTML template for the app's front end.static/styles.css
: The CSS file for styling the app (assuming you have a stylesheet in place).
This file contains the Flask application code. It handles routing, form submissions, and task management logic.
This file contains the HTML structure and JavaScript code for the countdown timer. It uses Jinja templating to dynamically display tasks and their respective due dates.
- Enter the task name in the "Task" field.
- (Optional) Set a due date and time in the "Due Date" field.
- Click the "Add Task" button.
- Click the "Complete" button next to the task you want to mark as complete.
- Click the "Delete" button next to the task you want to delete.
This project is licensed under the MIT License.