11# -------------------------------------------------------
22# Supabase
33# Project Settings → API → Project URL
4- NEXT_PUBLIC_SUPABASE_URL = https://your- project-ref.supabase.co
4+ NEXT_PUBLIC_SUPABASE_URL = https://< project-ref> .supabase.co
55
66# Project Settings → API → anon / public key
77NEXT_PUBLIC_SUPABASE_ANON_KEY = your_supabase_anon_key
@@ -11,9 +11,17 @@ SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
1111
1212# -------------------------------------------------------
1313# NextAuth
14- # The URL your app is running on
14+ # MUST match the deployed origin exactly (no trailing slash).
15+ # Local: http://localhost:3000
16+ # Production: https://devtrack-delta.vercel.app (set this in Vercel env vars)
17+ # Wrong value causes OAuth callback URL mismatch → error=github on sign-in.
1518NEXTAUTH_URL = http://localhost:3000
1619
20+ # Public app URL (optional — only needed if your deployment platform sets
21+ # NEXTAUTH_URL to something other than the canonical public origin).
22+ # Must not have a trailing slash.
23+ # NEXT_PUBLIC_APP_URL=https://devtrack-delta.vercel.app
24+
1725# Generate with: openssl rand -base64 32
1826NEXTAUTH_SECRET = your_nextauth_secret
1927
@@ -52,4 +60,18 @@ UPSTASH_REDIS_REST_TOKEN=your_upstash_redis_rest_token
5260# AI Mentor widget). Without this key the widget still works and shows
5361# rule-based insights only.
5462# console.anthropic.com → API Keys
55- ANTHROPIC_API_KEY = sk-ant-...
63+ # ANTHROPIC_API_KEY=sk-ant-...
64+
65+ # -------------------------------------------------------
66+ # Groq API Key (optional — enables AI-generated weekly summaries in the
67+ # AI Mentor widget using Llama-3).
68+ # console.groq.com → API Keys
69+ GROQ_API_KEY = your_groq_api_key
70+
71+ # -------------------------------------------------------
72+ # Leaderboard Configuration
73+ # Controls concurrent user fetches during leaderboard builds
74+ # Safe range: 1-100 (default: 5)
75+ # Higher values = faster builds but more resource usage
76+ # WARNING: Do not exceed 100 without load testing — risks memory exhaustion
77+ LEADERBOARD_USER_CONCURRENCY = 5
0 commit comments