{"id":29542477,"url":"https://github.com/bhola-dev58/smart-task-tracker-api","last_synced_at":"2026-05-03T21:34:05.520Z","repository":{"id":303278727,"uuid":"1014943446","full_name":"bhola-dev58/smart-task-tracker-api","owner":"bhola-dev58","description":"Smart Task Tracker API is a RESTful service built with FastAPI and SQLite that allows users to create, view, update, delete, and filter tasks by completion status. It’s a simple and efficient backend solution for task management applications.","archived":false,"fork":false,"pushed_at":"2025-07-06T18:30:48.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-06T19:35:31.556Z","etag":null,"topics":["fastapi","sqlalchemy-database","sqlite","uvicorn"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bhola-dev58.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-06T17:57:31.000Z","updated_at":"2025-07-06T18:28:33.000Z","dependencies_parsed_at":"2025-07-06T19:36:19.980Z","dependency_job_id":"98346b61-2698-40df-82e6-51fda1e19dbc","html_url":"https://github.com/bhola-dev58/smart-task-tracker-api","commit_stats":null,"previous_names":["bhola-dev58/smart-task-tracker-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bhola-dev58/smart-task-tracker-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhola-dev58%2Fsmart-task-tracker-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhola-dev58%2Fsmart-task-tracker-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhola-dev58%2Fsmart-task-tracker-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhola-dev58%2Fsmart-task-tracker-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhola-dev58","download_url":"https://codeload.github.com/bhola-dev58/smart-task-tracker-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhola-dev58%2Fsmart-task-tracker-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32586187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fastapi","sqlalchemy-database","sqlite","uvicorn"],"created_at":"2025-07-17T11:02:54.001Z","updated_at":"2026-05-03T21:34:05.504Z","avatar_url":"https://github.com/bhola-dev58.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📝 Smart Task Tracker API\n\nA lightweight task management system built with **FastAPI**, **SQLite**, and a simple **HTML frontend**. It allows users to create, view, update, and delete tasks through a browser interface.\n\n---\n\n## 🚀 Features\n\n- RESTful API with FastAPI  \n- SQLite database (auto-created)  \n- Full CRUD operations for tasks  \n- HTML + JavaScript frontend  \n- Interactive UI (Add, Complete, Delete)  \n- CORS enabled for smooth frontend-backend communication\n\n---\n\n## 📁 Project Structure\n\n```\nsmart-task-tracker-api/\n├── main.py           # FastAPI app (routes + CORS)\n├── models.py         # SQLAlchemy Task model\n├── schemas.py        # Pydantic schemas\n├── database.py       # SQLite DB setup\n├── index.html        # Frontend UI\n├── requirements.txt  # Python dependencies\n├── tasks.db          # Auto-created DB file\n└── README.md         # Project guide\n```\n\n---\n\n## ⚙️ Installation \u0026 Setup\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/bhola-dev58/smart-task-tracker-api.git\ncd smart-task-tracker-api\n```\n\n### 2. Create and Activate Virtual Environment\n\n```bash\npython -m venv myenv\n# Activate (Windows)\nmyenv\\Scripts\\activate\n# Activate (Linux/macOS)\nsource myenv/bin/activate\n```\n\n### 3. Install Dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n\u003e Or manually install:\n```bash\npip install fastapi uvicorn sqlalchemy\n```\n\n---\n\n## ▶️ Run the FastAPI Server\n\n```bash\nuvicorn main:app --reload\n```\n\n- Visit: [http://127.0.0.1:8000](http://127.0.0.1:8000)  \n- Docs: [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)\n\n---\n\n## 🌐 Use the HTML Frontend\n\n1. Open `index.html` (double-click or right-click → Open in browser)  \n2. Use the form to add tasks  \n3. Click “Complete” or “Delete” to manage them  \n4. All actions send requests to your FastAPI API\n\n---\n\n## 🧪 API Testing (Optional)\n\nUse the Swagger UI:  \n[http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)\n\nOr via curl:\n\n```bash\ncurl -X POST \"http://127.0.0.1:8000/tasks\" ^\n  -H \"Content-Type: application/json\" ^\n  -d \"{\\\"title\\\": \\\"Read Book\\\", \\\"description\\\": \\\"Chapter 4\\\", \\\"is_completed\\\": false}\"\n```\n\n---\n\n## 🗂 View the SQLite Database\n\n1. Install [DB Browser for SQLite](https://sqlitebrowser.org)  \n2. Open `tasks.db` file  \n3. Go to “Browse Data” tab → View `tasks` table\n\n---\n\n## 💡 Notes\n\n- Database auto-creates on first request  \n- Backend must be running before using the frontend  \n- If you get CORS issues, ensure CORS middleware is added in `main.py`\n\n---\n## Output DEMO\n  \u003ch2\u003eScreenshots\u003c/h2\u003e\n   \u003cimg src=\"https://github.com/user-attachments/assets/298d6938-b0aa-43b2-85fe-80008b1956a8\" alt=\"output-test\" width=\"500\" height=\"300\" /\u003e\n\n\n\n## 🙋 Author\n\n**Bhola Yadav**  \n📱 WhatsApp: +91-9198709984  \n🔗 GitHub: [bhola-dev58](https://github.com/bhola-dev58)\n\n---\n\n## 📃 License\n\nThis project is licensed under the MIT License\n\n---\n\n\u003e 🚀 Happy Task Tracking!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhola-dev58%2Fsmart-task-tracker-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhola-dev58%2Fsmart-task-tracker-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhola-dev58%2Fsmart-task-tracker-api/lists"}