This is a basic Task Tracker web application, built using Flask, SQLAlchemy, and SQLite. The app allows users to create, read, update, and delete tasks.
- Add Task: Users can add a task by submitting a form.
- View Tasks: All tasks are displayed on the homepage, ordered by creation date.
- Delete Task: Users can delete a task by clicking on the delete button next to the task.
- Update Task: Users can update a task's content by clicking on the update button next to the task.
- Flask: Web framework for Python.
- SQLAlchemy: ORM is used to handle database interactions.
- SQLite: Database for storing tasks.
- HTML/CSS: For rendering and styling the front end.
- Python 3.x
- Flask
- SQLAlchemy
- Clone the repository:
git clone https://github.com/yourusername/todo-flask-app.git
- Navigate to the project directory:
cd todo-flask-app
- Set up a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install the required packages:
pip install -r requirements.txt
- Run the application:
python app.py
- Open your browser and go to:
http://127.0.0.1:5000/