|
Download README.md from javed-78/ai_box: direct link, hf CLI and curl.
- Browser
- Download file 1.77 kB
-
https://huggingface.co/javed-78/ai_box/resolve/main/README.md
- Command line
-
hf download hf://javed-78/ai_box/README.md
-
curl -L -o README.md https://huggingface.co/javed-78/ai_box/resolve/main/README.md
1.77 kB
| # β¦ TaskMaster β Flask Task Manager | |
| A clean, fully functional personal task manager built with Flask. | |
| No database required β works out of the box! | |
| --- | |
| ## π Quick Start | |
| ```bash | |
| # 1. Install Flask | |
| pip install flask | |
| # 2. Run the app | |
| python app.py | |
| # 3. Open browser | |
| # β http://127.0.0.1:5000 | |
| ``` | |
| --- | |
| ## π Project Structure | |
| ``` | |
| taskmaster/ | |
| βββ app.py β Flask app + REST API | |
| βββ requirements.txt β Dependencies (just Flask) | |
| βββ templates/ | |
| βββ index.html β Beautiful single-page UI | |
| ``` | |
| --- | |
| ## π REST API | |
| | Method | Endpoint | Description | | |
| |--------|-----------------------|-----------------------| | |
| | GET | `/api/tasks` | List tasks (filterable)| | |
| | POST | `/api/tasks` | Create a new task | | |
| | PATCH | `/api/tasks/<id>` | Update a task | | |
| | DELETE | `/api/tasks/<id>` | Delete a task | | |
| | GET | `/api/stats` | Get summary stats | | |
| ### Query params for GET /api/tasks | |
| - `?done=true/false` | |
| - `?priority=high/medium/low` | |
| - `?category=work/personal/learning/general` | |
| ### POST /api/tasks body | |
| ```json | |
| { | |
| "title": "My task", | |
| "priority": "high", | |
| "category": "work", | |
| "due_date": "2026-06-30" | |
| } | |
| ``` | |
| --- | |
| ## β¨ Features | |
| - Add tasks with title, priority, category, and due date | |
| - Mark tasks as done / pending | |
| - Delete tasks | |
| - Filter by status, priority, or category | |
| - Live stats dashboard (total / done / pending / urgent) | |
| - Toast notifications | |
| - Fully responsive design | |
| - Zero database β pure Python in-memory store | |
| --- | |
| ## π Tech Stack | |
| - **Backend:** Python + Flask | |
| - **Frontend:** Vanilla HTML/CSS/JS (no frameworks) | |
| - **Storage:** In-memory (dict) β add SQLite easily if you want persistence | |