backend_project / app /api /v1 /api.py
Jetsada117's picture
add endpoint edit profile
83d49b9
Raw
History Blame Contribute Delete
435 Bytes
from fastapi import APIRouter
from app.api.v1.endpoints import auth, predictions, search, user
api_router = APIRouter()
api_router.include_router(auth.router, prefix="/auth", tags=["auth"])
api_router.include_router(
predictions.router, prefix="/predictions", tags=["predictions"]
)
api_router.include_router(search.router, prefix="/search", tags=["search"])
api_router.include_router(user.router, prefix="/user", tags=["user"])