
- Set up FastAPI project structure with API versioning - Create database models for users and tasks - Implement SQLAlchemy ORM with SQLite database - Initialize Alembic for database migrations - Create API endpoints for task management (CRUD) - Create API endpoints for user management - Add JWT authentication and authorization - Add health check endpoint - Add comprehensive README.md with API documentation
12 lines
393 B
Python
12 lines
393 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1.endpoints import health, tasks, users
|
|
|
|
# Create API router
|
|
api_router = APIRouter()
|
|
|
|
# Include routes from endpoint modules
|
|
api_router.include_router(health.router, prefix="/health", tags=["health"])
|
|
api_router.include_router(tasks.router, prefix="/tasks", tags=["tasks"])
|
|
api_router.include_router(users.router, prefix="/users", tags=["users"])
|