feat(api): ping route and testing infra

This commit is contained in:
2024-01-17 22:01:39 -05:00
parent 782fa386d5
commit 285d11c0ab
5 changed files with 122 additions and 60 deletions

View File

@@ -3,6 +3,6 @@ from fastapi import FastAPI
app = FastAPI()
@app.get("/")
@app.get("/control/ping")
async def root():
return {"message": "Hello World"}
return {"ping": "pong"}