ShoaibSSM commited on
Commit
4bd4193
·
verified ·
1 Parent(s): c35ebd9

Create main.py

Browse files
Files changed (1) hide show
  1. main.py +11 -0
main.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI
2
+
3
+ app = FastAPI(title="GA2 Observability API")
4
+
5
+ @app.get("/")
6
+ def root():
7
+ return {"message": "Deployment-ready-ga2-50e79a", "status": "active"}
8
+
9
+ @app.get("/health")
10
+ def health_check():
11
+ return {"status": "healthy", "port": 7211}