13 lines
246 B
Python
13 lines
246 B
Python
from fastapi import FastAPI
|
|
from mangum import Mangum
|
|
|
|
app = FastAPI(title="portfolio-python-api")
|
|
|
|
|
|
@app.get("/health")
|
|
async def health() -> dict[str, str]:
|
|
return {"status": "ok", "service": "portfolio-python-api"}
|
|
|
|
|
|
handler = Mangum(app)
|