-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy path.env.example
More file actions
38 lines (30 loc) · 1.17 KB
/
.env.example
File metadata and controls
38 lines (30 loc) · 1.17 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
35
36
37
38
# Database (Neon PostgreSQL)
DATABASE_URL=postgresql://user:password@host/dbname?sslmode=require
DATABASE_URL_UNPOOLED=postgresql://user:password@host/dbname?sslmode=require
# Authentication (NextAuth)
# Generate secret with: openssl rand -base64 32
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-32-char-secret-here
# Email (SMTP - optional for MVP)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
ADMIN_EMAIL=admin@adventurersguild.com
# Bootcamp onboarding webhook
BOOTCAMP_WEBHOOK_SECRET=generate-a-secure-random-string
# Optional: return initialPassword from /api/onboard response (dev/testing only)
BOOTCAMP_ONBOARD_RETURN_PASSWORD=false
# Application
NEXT_PUBLIC_APP_URL=http://localhost:3000
# DevSync Integration (optional)
NEXT_PUBLIC_DEVSYNC_API_URL=https://api.devsync.codes
DEVSYNC_API_KEY=your-devsync-api-key
# Optional: Analytics
NEXT_PUBLIC_GA_ID=G-XXXXXXXXXX
# Optional: Error Tracking (Sentry)
SENTRY_DSN=https://xxx@sentry.io/xxx
NEXT_PUBLIC_SENTRY_DSN=https://xxx@sentry.io/xxx
# Optional: Rate Limiting (Upstash Redis)
UPSTASH_REDIS_REST_URL=https://your-redis.upstash.io
UPSTASH_REDIS_REST_TOKEN=your-token-here