-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (34 loc) · 1.94 KB
/
.env.example
File metadata and controls
42 lines (34 loc) · 1.94 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
# ============================================================
# Hyper Vibe — Server-Side Secrets Template
# ============================================================
# Copy this to .env and fill in your values.
# .env is gitignored — NEVER commit real secrets.
#
# These are SERVER-SIDE ONLY vars. They must never go in:
# - frontend/.env.local (bundled into browser)
# - any VITE_ prefixed var
#
# Used by: discord-bot/, Stripe webhook handler, future Edge Functions
# ============================================================
# ── Supabase ─────────────────────────────────────────────────
# Project Settings → API → Project URL
SUPABASE_URL=https://your-project-ref.supabase.co
# Project Settings → API → service_role key (KEEP SECRET — bypasses RLS)
SUPABASE_SERVICE_ROLE_KEY=eyJ...
# Project Settings → Database → Connection string → Password
SUPABASE_DB_PASSWORD=
# ── Stripe ───────────────────────────────────────────────────
# Developers → API keys → Secret key (sk_live_... for prod, sk_test_... for dev)
STRIPE_SECRET_KEY=sk_test_...
# Developers → Webhooks → Signing secret (whsec_...)
# Created when you add your webhook endpoint in the Stripe dashboard
STRIPE_WEBHOOK_SECRET=whsec_...
# Stripe publishable key
STRIPE_PUBLISHABLE_KEY=pk_test_...
# ── JWT ───────────────────────────────────────────────────────
JWT_SECRET=change-me-to-a-long-random-string
JWT_EXPIRES_IN=7d
# ── Server config ─────────────────────────────────────────────
FRONTEND_URL=http://localhost:5173
PORT=4000
NODE_ENV=development