todoapp-vgv7cg/app/api/v1/__init__.py
Automated Action 4f7baf8e68 Implement comprehensive Projects system for todo management
- Add Project model with status management (active/archived)
- Create ProjectCreate, ProjectUpdate, ProjectWithTodos schemas
- Implement full CRUD operations for projects with pagination
- Add project filtering by status and search functionality
- Add project_id foreign key to Todo model with relationship
- Update Todo API to support project filtering
- Create archive project endpoint
- Add comprehensive project endpoints:
  - GET /projects - list with filtering
  - POST /projects - create new project
  - GET /projects/{id} - get project with todos
  - PUT /projects/{id} - update project
  - DELETE /projects/{id} - delete project
  - GET /projects/{id}/todos - get project todos
  - PUT /projects/{id}/archive - archive project
- Update README with Projects system documentation
- Add migration for projects table and project_id field
- Clean up imports and remove obsolete tag references

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 00:11:25 +00:00

12 lines
467 B
Python

from fastapi import APIRouter
from .todos import router as todos_router
from .categories import router as categories_router
from .projects import router as projects_router
api_router = APIRouter()
api_router.include_router(todos_router, prefix="/todos", tags=["todos"])
api_router.include_router(categories_router, prefix="/categories", tags=["categories"])
api_router.include_router(projects_router, prefix="/projects", tags=["projects"])
__all__ = ["api_router"]