-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (36 loc) · 2.75 KB
/
.env.example
File metadata and controls
43 lines (36 loc) · 2.75 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
# ──────────────────────────────────────────────────────────────────────────────
# DINA COSMETIC — ENVIRONMENT VARIABLE TEMPLATE
# Copy this file to .env.local for local development.
# All production values must be set in your Vercel dashboard.
# NEVER commit a file containing real credentials.
# ──────────────────────────────────────────────────────────────────────────────
# ── SUPABASE (Required) ───────────────────────────────────────────────────────
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key # Keep private — server-side only
# ── STRIPE (Required) ─────────────────────────────────────────────────────────
STRIPE_SECRET_KEY=sk_live_... # Use sk_test_... for local dev
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_live_... # Use pk_test_... for local dev
STRIPE_WEBHOOK_SECRET=whsec_... # From Stripe Dashboard > Webhooks
# ── RESEND — Email Notifications (Required for order emails) ──────────────────
RESEND_API_KEY=re_...
# ── SMTP — Fallback Email (Optional) ─────────────────────────────────────────
SMTP_HOST=smtp.resend.com
SMTP_PORT=465
SMTP_SECURE=false
SMTP_USER=your-smtp-user
SMTP_PASS=your-smtp-password
SMTP_FROM=Your Store <support@your-domain.com>
# ── SHIPPO — Shipping Labels (Required for fulfillment) ──────────────────────
SHIPPO_API_KEY=shippo_live_...
SHIPPO_WEBHOOK_SECRET=your_token_here
# ── WAREHOUSE / SENDER ADDRESS (Required for Shippo label generation) ────────
WAREHOUSE_NAME=Your Store Name
WAREHOUSE_ADDRESS_LINE1=123 Main St Suite 100
WAREHOUSE_CITY=Houston
WAREHOUSE_STATE=TX
WAREHOUSE_ZIP=77001
WAREHOUSE_COUNTRY=United States
WAREHOUSE_PHONE=2815550000
# ── SITE URL (Required) ───────────────────────────────────────────────────────
NEXT_PUBLIC_SITE_URL=https://your-domain.com # http://localhost:3000 for dev