Initial commit
This commit is contained in:
15
backend/app/api/v1/router.py
Normal file
15
backend/app/api/v1/router.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""Main API v1 router that aggregates all sub-routers."""
|
||||
|
||||
from fastapi import APIRouter
|
||||
|
||||
from app.api.v1 import health, auth, users, settings
|
||||
|
||||
|
||||
# Create main API v1 router
|
||||
router = APIRouter()
|
||||
|
||||
# Include all sub-routers
|
||||
router.include_router(health.router, prefix="/health", tags=["Health"])
|
||||
router.include_router(auth.router, prefix="/auth", tags=["Authentication"])
|
||||
router.include_router(users.router, prefix="/users", tags=["Users"])
|
||||
router.include_router(settings.router, prefix="/settings", tags=["Settings"])
|
||||
Reference in New Issue
Block a user