
- Set up project structure with FastAPI and SQLite - Implement user authentication with JWT - Create models for learning content (subjects, lessons, quizzes) - Add progress tracking and gamification features - Implement comprehensive API documentation - Add error handling and validation - Set up proper logging and health check endpoint
13 lines
579 B
Python
13 lines
579 B
Python
from __future__ import annotations
|
|
|
|
from fastapi import APIRouter
|
|
|
|
from app.api.v1.endpoints import achievements, auth, content, progress, users
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["authentication"])
|
|
api_router.include_router(users.router, prefix="/users", tags=["users"])
|
|
api_router.include_router(content.router, prefix="/content", tags=["content"])
|
|
api_router.include_router(progress.router, prefix="/progress", tags=["progress"])
|
|
api_router.include_router(achievements.router, prefix="/achievements", tags=["achievements"])
|