test-fastapi2 / app.py
Yermek68's picture
Create app.py
37d0533 verified
from fastapi import FastAPI
app = FastAPI(title="Eroha Minimal Health Test")
@app.get("/")
def home():
return {
"message": "Hello, Eroha — this is a minimal FastAPI test!",
"check_url": "/check"
}
@app.get("/check")
def check_health():
return {
"status": "ok",
"modules": ["core", "rag", "metrics"],
"version": "test-1.0"
}