-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy path.env.example
More file actions
52 lines (42 loc) · 1.52 KB
/
Copy path.env.example
File metadata and controls
52 lines (42 loc) · 1.52 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 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
# Optional OAuth providers
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_TOKEN= # Optional: raises GitHub API rate limit from 60 to 5000 req/hr for issue prefill
# 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
# DEPRECATED: no longer used — passwords are never returned in API responses.
# 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
SENTRY_ORG=your-sentry-org
SENTRY_PROJECT=adventurers-guild
# Optional: Rate Limiting (Upstash Redis)
UPSTASH_REDIS_REST_URL=https://your-redis.upstash.io
UPSTASH_REDIS_REST_TOKEN=your-token-here
# Quest Creation Limits
MAX_QUEST_XP=50000
MAX_QUEST_SP=500
MAX_QUEST_MONETARY=500000