-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (26 loc) · 1.59 KB
/
Copy path.env.example
File metadata and controls
33 lines (26 loc) · 1.59 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
NODE_ENV=development
PORT=3001
# Your deployed URL — used in email links and CORS
APP_URL=http://localhost:5173
# ── Database ──────────────────────────────────────────────
# Local dev: leave both blank → uses file:./sentra.db automatically
# Production (Turso): turso db create sentra → copy URL + token
TURSO_DATABASE_URL=
TURSO_AUTH_TOKEN=
# ── Auth ──────────────────────────────────────────────────
# Generate: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
JWT_SECRET=change-this-to-a-long-random-string
# ── Anthropic ─────────────────────────────────────────────
ANTHROPIC_API_KEY=sk-ant-...
# ── Email (Resend) ────────────────────────────────────────
# Sign up at resend.com → API Keys → Create → paste here
# Dev: leave blank → emails log to console
RESEND_API_KEY=re_...
EMAIL_FROM=Sentra <alerts@sentra.app>
# ── Stripe ────────────────────────────────────────────────
STRIPE_SECRET_KEY=sk_test_...
STRIPE_PRICE_FAMILY=price_...
STRIPE_PRICE_FAMILY_PLUS=price_...
STRIPE_WEBHOOK_SECRET=whsec_...
# ── Vercel Cron (auto-set by Vercel in production) ────────
CRON_SECRET=