service_man/api/app.py

14 lines
203 B
Python

from fastapi import FastAPI
from api.router.user import router as user_router
def create_app() -> FastAPI:
app = FastAPI()
app.include_router(user_router)
return app
app = create_app()