
- Setup project structure and FastAPI application - Create SQLite database with SQLAlchemy - Implement user authentication with JWT - Create task and user models - Add CRUD operations for tasks and users - Configure Alembic for database migrations - Implement API endpoints for task management - Add error handling and validation - Configure CORS middleware - Create health check endpoint - Add comprehensive documentation
9 lines
412 B
Python
9 lines
412 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.api_v1.endpoints import auth, health, tasks, users
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(health.router, prefix="/health", tags=["health"])
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["auth"])
|
|
api_router.include_router(users.router, prefix="/users", tags=["users"])
|
|
api_router.include_router(tasks.router, prefix="/tasks", tags=["tasks"]) |