
- Set up project structure with FastAPI and dependency files - Configure SQLAlchemy with SQLite database - Implement user authentication using JWT tokens - Create comprehensive API routes for user management - Add health check endpoint for application monitoring - Set up Alembic for database migrations - Add detailed documentation in README.md
17 lines
478 B
Python
17 lines
478 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.endpoints import auth, health, users
|
|
from app.core.config import settings
|
|
|
|
# Create the main API router
|
|
api_router = APIRouter()
|
|
|
|
# Include all endpoint routers
|
|
api_router.include_router(health.router, tags=["Health"])
|
|
api_router.include_router(
|
|
auth.router, prefix=f"{settings.API_V1_PREFIX}/auth", tags=["Authentication"]
|
|
)
|
|
api_router.include_router(
|
|
users.router, prefix=f"{settings.API_V1_PREFIX}/users", tags=["Users"]
|
|
)
|