
- Add user model with relationship to tasks - Implement JWT token authentication - Create user registration and login endpoints - Update task endpoints to filter by current user - Add Alembic migration for user table - Update documentation with authentication details
8 lines
240 B
Python
8 lines
240 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.routers import tasks, auth
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(tasks.router, prefix="/tasks", tags=["tasks"])
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["auth"])
|