M0: add .env.local.example

Exempts .env*.example from the .env* gitignore rule so the template
is trackable while real .env.local stays ignored.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FcktbLXSSXzx23GCue813e
This commit is contained in:
Weei Han
2026-07-30 20:43:15 +08:00
co-authored by Claude Sonnet 5
parent 1b3ba67468
commit e8a827f0da
2 changed files with 15 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# Copy this file to .env.local and fill in real values.
# .env.local is gitignored — never commit real keys.
# Project Settings -> API -> Project URL
NEXT_PUBLIC_SUPABASE_URL=
# Project Settings -> API -> anon public key. Safe to expose to the
# browser: every query it makes is filtered by RLS.
NEXT_PUBLIC_SUPABASE_ANON_KEY=
# Project Settings -> API -> service_role key. NEVER exposed to the
# browser. Only imported in server-only files (src/lib/supabase/service.ts),
# used only inside /app/api/* route handlers. Bypasses RLS entirely.
SUPABASE_SERVICE_ROLE_KEY=
+1
View File
@@ -32,6 +32,7 @@ yarn-error.log*
# env files (can opt-in for committing if needed) # env files (can opt-in for committing if needed)
.env* .env*
!.env*.example
# vercel # vercel
.vercel .vercel