Skip to content

Commit 498e103

Browse files
committed
Add health_check route using fastapi
1 parent 4106529 commit 498e103

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

main.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from fastapi import FastAPI
2+
3+
app = FastAPI()
4+
5+
6+
@app.get('/health_check/')
7+
def health_check():
8+
return {"message": "Healthy!"}

0 commit comments

Comments
 (0)