Files
celtic-life-science/app/api/v1/router.py
T
Shubhankar45 0d30c58bf0 Server backup 2026-11-07 of uncommitted work in projects/pharma-web-celtic
Snapshot of the working tree on srv1071960 (branch main), taken during
server cleanup. .env files, node_modules, builds, logs and media were excluded.
2026-11-07 05:43:12 +00:00

33 lines
1.3 KiB
Python

"""Mount point for every v1 module router.
Versioning matters here because of the Phase-3 mobile app: an installed app cannot be
force-updated, so v1 must stay frozen once it ships and breaking changes go to v2.
"""
from fastapi import APIRouter
from app.audit.router import router as audit_router
from app.auth.router import router as auth_router
from app.chemists.router import router as chemists_router
from app.csv_data.router import router as csv_data_router
from app.doctors.router import router as doctors_router
from app.organization.router import router as organization_router
from app.pdf.router import router as directory_pdf_router
from app.products.router import router as products_router
from app.reports.router import router as reports_router
from app.stockists.router import router as stockists_router
from app.users.router import router as users_router
api_router = APIRouter()
api_router.include_router(auth_router)
api_router.include_router(users_router)
api_router.include_router(organization_router)
api_router.include_router(doctors_router)
api_router.include_router(chemists_router)
api_router.include_router(stockists_router)
api_router.include_router(csv_data_router)
api_router.include_router(products_router)
api_router.include_router(reports_router)
api_router.include_router(audit_router)
api_router.include_router(directory_pdf_router)