Environment Variables
Copy .env.local.example to .env.local and fill in the required values.
Required
Supabase
bash
NEXT_PUBLIC_SUPABASE_URL=https://xxxx.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_keyFound in Supabase → Settings → API.
App URL
bash
NEXT_PUBLIC_SITE_URL=http://localhost:3000YouTube OAuth
bash
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
YOUTUBE_REDIRECT_URI=http://localhost:3000/api/youtube/callbackEmail (Resend)
bash
RESEND_API_KEY=re_xxxxxxxxxxxxFull template
bash
NEXT_PUBLIC_SITE_URL=http://localhost:3000
NEXT_PUBLIC_SUPABASE_URL=https://xxxx.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
GOOGLE_CLIENT_ID=your_client_id
GOOGLE_CLIENT_SECRET=your_client_secret
YOUTUBE_REDIRECT_URI=http://localhost:3000/api/youtube/callback
RESEND_API_KEY=re_xxxxxxxxxxxx
CHANGELOG_NOTIFY_SECRET=your-random-secretNever commit
.env.localto git. Add it to.gitignore.