-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
57 lines (50 loc) · 1.9 KB
/
.env.example
File metadata and controls
57 lines (50 loc) · 1.9 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
50
51
52
53
54
55
56
57
# ============================================================
# LEX Referral App — Environment Variables
# Copy this to .env and fill in your real values.
# NEVER commit .env to GitHub.
# ============================================================
# --- Server ---
PORT=3000
NODE_ENV=production
# --- Supabase ---
SUPABASE_URL=https://your-project-id.supabase.co
SUPABASE_SERVICE_KEY=your-supabase-service-role-key
# --- ServiceTitan ---
ST_APP_ID=rlaxwjh55wy6t
ST_TENANT_ID=1498628772
ST_CLIENT_ID=your-st-client-id
ST_CLIENT_SECRET=your-st-client-secret
# Secret used to verify ST webhook signatures
ST_WEBHOOK_SECRET=create-a-long-random-string-here
# --- Chiirp ---
CHIIRP_API_KEY=your-chiirp-api-key
CHIIRP_FROM_NUMBER=your-chiirp-phone-number
# --- Tango Card (gift card fulfillment) ---
TANGO_API_KEY=your-tango-api-key
TANGO_ACCOUNT_ID=your-tango-account-id
TANGO_FUND_ID=your-tango-fund-id
# Use "VISA_VIRTUAL" or "AMAZON" — we'll let customers pick
TANGO_DEFAULT_CATALOG_ITEM=VISA_VIRTUAL
# Set to true to automatically issue Tango gift cards when a referral qualifies.
# When false (default), referrals land in "completed" and are rewarded manually via the dashboard.
TANGO_AUTO_REWARD=false
# --- Referral Settings ---
# Base URL of your WordPress site
SITE_URL=https://lexair.com
# WordPress page slug for the referral landing page
REFERRAL_PAGE_SLUG=referral
# Minimum job value (dollars) before a referral qualifies for reward
MIN_JOB_VALUE=150
# Reward amount for the referrer (dollars)
REFERRER_REWARD=75
# Discount for the new customer (used in text/landing page copy only)
NEW_CUSTOMER_DISCOUNT=50
-e
# --- Admin Dashboard ---
# Set a strong password to protect /admin
ADMIN_PASSWORD=change-this-to-something-strong
# --- Demo Mode ---
# Set to true to run without Chiirp/Tango credentials.
# Texts and gift cards are logged to console instead of sent.
# Set to false (or remove) in production.
DEMO_MODE=true