-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
49 lines (38 loc) · 2.25 KB
/
Copy path.env.example
File metadata and controls
49 lines (38 loc) · 2.25 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
# ─────────────────────────────────────────────
# Supabase — Required
# Project URL from Settings → API
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
# Public anon key from Settings → API
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
# Service role key — server-side only, never expose to the client
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
# ─────────────────────────────────────────────
# Groq AI — Required
# API key from https://console.groq.com/keys
GROQ_API_KEY=your_groq_api_key_here
# ─────────────────────────────────────────────
# Stripe — Required for payments
# Secret key from Stripe Dashboard → Developers → API keys
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key
# Publishable key — safe to expose to the client
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_your_stripe_publishable_key
# Webhook signing secret from Stripe Dashboard → Webhooks
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret
# Price ID for the premium subscription product
# Create a product + price in Stripe Dashboard → Products
STRIPE_PRICE_ID=price_your_price_id
# ─────────────────────────────────────────────
# Vercel Cron (optional)
# Used to protect /api/cron/cleanup and /api/keep-alive endpoints
# Generate a random string: openssl rand -hex 32
CRON_SECRET=your_cron_secret_here
# ─────────────────────────────────────────────
# Upstash Redis (optional — for improved rate limiting)
# Create a database at https://console.upstash.com
UPSTASH_REDIS_REST_URL=your_upstash_redis_rest_url
UPSTASH_REDIS_REST_TOKEN=your_upstash_redis_rest_token
# ─────────────────────────────────────────────
# App
# Public base URL — update to your domain in production
NEXT_PUBLIC_APP_URL=http://localhost:3000
NODE_ENV=development