Files
tobayahandClaude Opus 4.7 2faa2b2c04 chore(web): use env vars for Supabase credentials
Replace hardcoded Lovable-generated URL + anon key in apps/web/src/integrations/supabase/client.ts with import.meta.env.VITE_SUPABASE_* reads. Throw at boot if missing so misconfiguration fails loud instead of silent 401s downstream.

Add apps/web/.env.example as template (gitignored .env.local pattern already in repo). VITE_ prefix is intentional — anon key is meant to be client-bundled. Service role keys never go here.

Closes Sprint 4 working-tree drift before Sprint 5 work begins.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 21:28:58 +02:00
..