Initial commit: WealthWise financial analytics platform
This commit is contained in:
38
backend/app/api/v1/api.py
Normal file
38
backend/app/api/v1/api.py
Normal file
@@ -0,0 +1,38 @@
|
||||
"""WealthWise API v1 router aggregation.
|
||||
|
||||
This module aggregates all v1 API endpoints into a single router.
|
||||
Each feature domain should register its endpoints here.
|
||||
"""
|
||||
|
||||
from fastapi import APIRouter
|
||||
|
||||
from app.api.v1.endpoints import auth, health, users
|
||||
|
||||
api_router = APIRouter()
|
||||
|
||||
# Health check endpoints
|
||||
api_router.include_router(
|
||||
health.router,
|
||||
prefix="/health",
|
||||
tags=["health"],
|
||||
)
|
||||
|
||||
# Authentication endpoints
|
||||
api_router.include_router(
|
||||
auth.router,
|
||||
prefix="/auth",
|
||||
tags=["authentication"],
|
||||
)
|
||||
|
||||
# User endpoints (requires authentication)
|
||||
api_router.include_router(
|
||||
users.router,
|
||||
prefix="/users",
|
||||
tags=["users"],
|
||||
)
|
||||
|
||||
# TODO: Add more endpoint routers as features are implemented
|
||||
# Example:
|
||||
# from app.api.v1.endpoints import portfolios, transactions
|
||||
# api_router.include_router(portfolios.router, prefix="/portfolios", tags=["portfolios"])
|
||||
# api_router.include_router(transactions.router, prefix="/transactions", tags=["transactions"])
|
||||
Reference in New Issue
Block a user