Loading repository data…
Loading repository data…
Birendra7 / repository
A simple, user-friendly web application built with Flask to manage your daily tasks efficiently. This app includes features to add, update, delete, and view todos, along with pages for an about section, a privacy policy, and a blog.
A simple, user-friendly web application built with Flask to manage your daily tasks efficiently. This app includes features to add, update, delete, and view todos, along with pages for an about section, a privacy policy, and a blog.
Follow these steps to set up and run the Todo App locally:
git clone https://github.com/Birendra7/Flask_todo.git
cd Flask_todo
python -m venv env
source env/bin/activate # On macOS/Linux
env\Scripts\activate # On Windows
pip install -r requirements.txt
Start the Flask shell:
flask shell
Run the following commands to create the database:
from app import db
db.create_all()
flask run
Access the app in your browser at http://127.0.0.1:5000.
todo-app/
├── app.py # Main Flask application
├── templates/ # HTML files for pages
│ ├── index.html # Main page for todos
│ ├── about.html # About page
│ ├── privacy.html # Privacy policy page
│ ├── blog.html # Blog page
│ ├── update.html # Page for updating todos
├── static/ # Static files (CSS, JS, images)
│ ├── style.css # Custom styles (optional)
├── requirements.txt # Python dependencies
├── README.md # Project documentation
└── todo.db # SQLite database (generated after setup)
| URL Path | Description |
|---|---|
/ | View all todos |
/add | Add a new todo |
/update/<id> | Update an existing todo |
/delete/<id> | Delete a todo |
/about | About the app |
/privacy | Privacy policy |
/blog | Blog page with productivity tips |
Contributions are welcome! If you have ideas or improvements, please:
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or support, contact us at:
This README file includes all essential details for users and contributors to understand, install, and use the application effectively. Let me know if you want further adjustments or if you'd like to include any additional information!