14 lines
321 B
Python
14 lines
321 B
Python
from fastapi import FastAPI
|
|
|
|
from app.api.booking import router as booking_router
|
|
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)
|
|
app.include_router(booking_router)
|