-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.local.example
More file actions
24 lines (20 loc) · 1.07 KB
/
.env.local.example
File metadata and controls
24 lines (20 loc) · 1.07 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
# Neon DB (serverless PostgreSQL)
# Get from Neon dashboard → Connection Details → Connection string
DATABASE_URL=postgresql://user:password@host/dbname?sslmode=require
# PostHog analytics
# Get from PostHog → Project Settings → API Keys
NEXT_PUBLIC_POSTHOG_KEY=phc_xxxxxxxxxxxxxxxxxxxxxxxxx
NEXT_PUBLIC_POSTHOG_HOST=https://app.posthog.com
# Cron auth secret — set to any random string
# Used to authenticate POST /api/reorder-trigger
# For local dev: TriggerButton uses NEXT_PUBLIC_CRON_SECRET as fallback
CRON_SECRET=your-secret-here
NEXT_PUBLIC_CRON_SECRET=your-secret-here
# Demo auth — prevents metric fabrication via browser console during founder pitch
# Set to any random string; must match in both server and client vars
# Callers must send x-demo-key: <DEMO_SECRET> header to POST /api/reorder-events
DEMO_SECRET=your-demo-secret-here
NEXT_PUBLIC_DEMO_SECRET=your-demo-secret-here
# Experiment end date (optional) — ISO date string, e.g. "2026-04-10"
# Trigger returns early after this date. Also disable the cron schedule in vercel.json.
# EXPERIMENT_END_DATE=