12 lines
233 B
Python
12 lines
233 B
Python
from fastapi import FastAPI
|
|
|
|
from app.api.health import router as health_router
|
|
from app.config import settings
|
|
from app.db.init_db import init_db
|
|
|
|
|
|
init_db()
|
|
|
|
app = FastAPI(title=settings.app_name)
|
|
app.include_router(health_router)
|