-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
34 lines (27 loc) · 1.24 KB
/
Copy path.env.example
File metadata and controls
34 lines (27 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# StreakDSA Environment Variables
# Copy this file to .env.local and fill in the values
# Database - CockroachDB
# Get from: CockroachCloud Dashboard → Connect → Connection string
DATABASE_URL="postgresql://username:password@host:26257/database?sslmode=verify-full"
DIRECT_URL="postgresql://username:password@host:26257/database?sslmode=verify-full"
# NextAuth
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="generate-with-openssl-rand-base64-32"
# Google OAuth (https://console.cloud.google.com/apis/credentials)
GOOGLE_CLIENT_ID="your-google-client-id"
GOOGLE_CLIENT_SECRET="your-google-client-secret"
# GitHub OAuth (https://github.com/settings/developers)
GITHUB_ID="your-github-client-id"
GITHUB_SECRET="your-github-client-secret"
# Web Push (VAPID) - Generate with: npx web-push generate-vapid-keys
NEXT_PUBLIC_VAPID_PUBLIC_KEY="your-vapid-public-key"
VAPID_PRIVATE_KEY="your-vapid-private-key"
NEXT_PUBLIC_VAPID_SUBJECT="mailto:your-email@example.com"
# SMTP Email (Gmail example: use App Password, not your real password)
SMTP_HOST="smtp.gmail.com"
SMTP_PORT="587"
SMTP_USER="your-email@gmail.com"
SMTP_PASS="your-app-password"
SMTP_FROM="StreakDSA <your-email@gmail.com>"
# Cron Secret (for Vercel cron jobs)
CRON_SECRET="generate-a-random-secret"