AIProject — Walking Skeleton

Next.js SSR page proxying /api/* to the FastAPI backend via a runtime route handler. If both blocks below show data, the full chain works.

/api/health

{
  "status": "ok",
  "service": "api",
  "env": "prod",
  "gemini_key_present": false,
  "sql_configured": true
}

/api/db-check

{
  "db": "ok",
  "select1": 1
}