Yermek68 commited on
Commit
d6c0468
·
verified ·
1 Parent(s): 9622b35

Add minimal FastAPI app

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI
2
+
3
+ app = FastAPI(title="Eroha Minimal Health Test")
4
+
5
+ @app.get("/")
6
+ def home():
7
+ return {"message": "Hello, Eroha — this is a minimal FastAPI test!"}
8
+
9
+ @app.get("/check")
10
+ def check_health():
11
+ return {
12
+ "status": "ok",
13
+ "modules": ["core", "rag", "metrics"],
14
+ "version": "test-1.0"
15
+ }