14 lines
273 B
Python
14 lines
273 B
Python
from fastapi import FastAPI
|
|
|
|
from app.api.router import api_router
|
|
from app.core.config import settings
|
|
|
|
|
|
def create_app() -> FastAPI:
|
|
application = FastAPI(title=settings.app_name)
|
|
application.include_router(api_router)
|
|
return application
|
|
|
|
|
|
app = create_app()
|