13 lines
320 B
Python
13 lines
320 B
Python
from fastapi import FastAPI
|
|
|
|
from app.api.routes import router as api_router
|
|
from app.core.config import get_gateway_settings
|
|
from app.core.logging import setup_logging
|
|
|
|
settings = get_gateway_settings()
|
|
|
|
setup_logging()
|
|
|
|
app = FastAPI(title=settings.app_name)
|
|
app.include_router(api_router, prefix=settings.api_prefix)
|