Niche API Documentation - v0.1.0
    Preparing search index...

    Module health

    Health-check endpoint for the Niche app.

    GET /api/health

    Pings the Supabase auth service and reports whether the app can reach it. Useful after npx supabase start and as a deployment liveness probe.

    Response — 200 OK (both services reachable):

    { "app": "ok", "supabase": "ok" }
    

    Response — 503 Service Unavailable (Supabase unreachable or error):

    { "app": "ok", "supabase": "unreachable (is `npx supabase start` running?)" }
    
    GET