2025-05-26 18:58:29 +00:00

16 lines
454 B
Python

import uvicorn
from fastapi import FastAPI
from app.api.endpoints import router as api_router
from app.core.config import settings
app = FastAPI(title=settings.PROJECT_NAME, version=settings.VERSION)
app.include_router(api_router, prefix=settings.API_V1_STR)
@app.get('/health', tags=['Health'])
async def health_check():
return {"status": "healthy"}
if __name__ == "__main__":
uvicorn.run("main:app", host="0.0.0.0", port=8000, reload=True)