Phase 0: scaffold Next.js, Tailwind tokens, Supabase clients, env validation
Next.js 16 App Router with strict TypeScript, Tailwind 4 theme tokens from docs/UI.md, Vitest, and the three Supabase clients. Env vars are validated with zod in next.config.ts so dev and build fail fast with a readable error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Supabase
|
||||
NEXT_PUBLIC_SUPABASE_URL=https://YOUR-PROJECT.supabase.co
|
||||
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
|
||||
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key # server only. never NEXT_PUBLIC_
|
||||
|
||||
# Comma-separated emails allowed to use /admin
|
||||
ADMIN_EMAILS=you@example.com
|
||||
|
||||
# Branding
|
||||
NEXT_PUBLIC_APP_NAME=Game Night Live
|
||||
|
||||
# Used to build share links (no trailing slash)
|
||||
NEXT_PUBLIC_SITE_URL=http://localhost:3000
|
||||
Reference in New Issue
Block a user