diff --git a/backend/app/main.py b/backend/app/main.py index f48d10b..444bce2 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -42,6 +42,13 @@ async def startup_event(): logger.error(f"Knowledge base initialization failed: {result['message']}") + +@app.get("/health", tags=["Health"]) +async def health_check(): + """Health check endpoint to verify the API is running correctly.""" + return {"status": "ok", "app": "VCell AI Backend", "version": "1.0.0"} + + # CORS setup app.add_middleware( CORSMiddleware, diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index ede5909..f6b480b 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -177,7 +177,17 @@ export default function LandingPage() { {/* Footer */} );