We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad2bff0 commit 28d296eCopy full SHA for 28d296e
services/matching-service/app/main.py
@@ -1,10 +1,10 @@
1
from fastapi import FastAPI
2
-from app.routers import hello
+from app.routers import match
3
4
-app = FastAPI()
+app = FastAPI(title="Matching Service")
5
6
-app.include_router(hello.router)
+app.include_router(match.router, prefix="/match", tags=["Match"])
7
8
-@app.get("/")
9
-def root():
10
- return {"message": "Matching Service is running"}
+@app.get("/health")
+async def health_check():
+ return {"status": "Healthy"}
0 commit comments