Spaces:
Sleeping
Sleeping
Benard John
feat: implement full-stack architecture with database models, authentication services, and web dashboard components
37b5223 Download app/api/router.py from Benaah/MicProtocol: direct link, hf CLI and curl.
- Browser
- Download file 541 Bytes
-
https://huggingface.co/spaces/Benaah/MicProtocol/resolve/main/app/api/router.py
- Command line
-
hf download hf://spaces/Benaah/MicProtocol/app/api/router.py
-
curl -L -o router.py https://huggingface.co/spaces/Benaah/MicProtocol/resolve/main/app/api/router.py
541 Bytes
| """ | |
| Ukweli — API Router | |
| Mounts all endpoint sub-routers under the root. | |
| """ | |
| from __future__ import annotations | |
| from fastapi import APIRouter | |
| from app.api import agent, api_keys, auth, documents, feedback, health, query | |
| api_router = APIRouter() | |
| api_router.include_router(health.router) | |
| api_router.include_router(auth.router) | |
| api_router.include_router(api_keys.router) | |
| api_router.include_router(documents.router) | |
| api_router.include_router(query.router) | |
| api_router.include_router(agent.router) | |
| api_router.include_router(feedback.router) | |