event driven system

This commit is contained in:
Siwat Sirichai 2025-11-10 11:51:06 +07:00
parent 0c5f56c8a6
commit 3a47920186
10 changed files with 782 additions and 253 deletions

4
app.py
View file

@ -4,10 +4,10 @@ app = FastAPI()
@app.get("/")
async def root():
def root():
return {"message": "Hello World"}
@app.get("/health")
async def health_check():
def health_check():
return {"status": "healthy"}