Skip to content

Commit e78ab97

Browse files
committed
feat: add health check endpoint and improve landing page footer
1 parent 5d95ca1 commit e78ab97

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

backend/app/main.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ async def startup_event():
4242
logger.error(f"Knowledge base initialization failed: {result['message']}")
4343

4444

45+
46+
@app.get("/health", tags=["Health"])
47+
async def health_check():
48+
"""Health check endpoint to verify the API is running correctly."""
49+
return {"status": "ok", "app": "VCell AI Backend", "version": "1.0.0"}
50+
51+
4552
# CORS setup
4653
app.add_middleware(
4754
CORSMiddleware,

frontend/app/page.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,17 @@ export default function LandingPage() {
177177

178178
{/* Footer */}
179179
<footer className="text-center border-t border-slate-200 text-sm">
180-
<p className="text-slate-500 my-4">VCell AI Model Explorer</p>
180+
<p className="text-slate-500 my-4">
181+
© {new Date().getFullYear()} VCell AI Model Explorer ·{" "}
182+
<a
183+
href="https://github.com/virtualcell/VCell-AI"
184+
target="_blank"
185+
rel="noopener noreferrer"
186+
className="text-blue-600 hover:underline"
187+
>
188+
GitHub
189+
</a>
190+
</p>
181191
</footer>
182192
</div>
183193
);

0 commit comments

Comments
 (0)