Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
83 lines (70 loc) · 5.29 KB
/
Copy path.env.example
File metadata and controls
83 lines (70 loc) · 5.29 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# ──────────────────────────────────────────────────────────────────────────────
# NeuroWealth Frontend — Environment Variables
# Copy this file to `.env.local` and fill in the values.
# Lines marked (required) MUST be set for the app to start.
# Lines marked (optional) have sensible defaults.
# ──────────────────────────────────────────────────────────────────────────────
# ── App ──────────────────────────────────────────────────────────────────────
NODE_ENV=development
NEXT_PUBLIC_APP_ENV=development
NEXT_PUBLIC_APP_URL=http://localhost:3000
# ── Public API Configuration (exposed to browser) ───────────────────────────
# (required) WhatsApp / webhook receiver URL
NEXT_PUBLIC_WEBHOOK_URL=http://localhost:2000
# (required) Base URL for internal Next.js /api/* routes
NEXT_PUBLIC_API_URL=http://localhost:3001
# ── Stellar Network ─────────────────────────────────────────────────────────
# (optional) "testnet" | "mainnet" — defaults to "testnet"
NEXT_PUBLIC_STELLAR_NETWORK=testnet
# (optional) Horizon endpoint — falls back to public testnet/mainnet node
NEXT_PUBLIC_STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
# ── Feature Flags ────────────────────────────────────────────────────────────
# (optional) Enable /dashboard/sandbox route — "true" | "false"
NEXT_PUBLIC_ENABLE_DASHBOARD_SANDBOX=true
# (optional) Force mock services — "true" | "false"
# NEXT_PUBLIC_USE_MOCK_SERVICES=false
# ── Demo Seed ────────────────────────────────────────────────────────────────
# (optional) Seed for deterministic mock data in demos/screenshots.
# Set to any string (e.g., "demo-123") for consistent random values.
# Leave unset for normal random behaviour.
NEXT_PUBLIC_DEMO_SEED=
# ── Next.js ──────────────────────────────────────────────────────────────────
NEXT_TELEMETRY_DISABLED=1
# ── Meta WhatsApp Cloud API (server-only) ────────────────────────────────────
WHATSAPP_APP_SECRET=
WHATSAPP_VERIFY_TOKEN=
WHATSAPP_ACCESS_TOKEN=
WHATSAPP_PHONE_NUMBER_ID=
WHATSAPP_WABA_ID=
# ── Server ───────────────────────────────────────────────────────────────────
PORT=3000
LOG_LEVEL=info
# ── PostgreSQL Database (server-only) ────────────────────────────────────────
# NOT CURRENTLY USED. This frontend has no database client.
# DB_HOST=
# DB_PORT=5432
# DB_NAME=neurowealth
# DB_USER=postgres
# DB_PASSWORD=
# ── Stellar Server Keys (server-only) ───────────────────────────────────────
STELLAR_NETWORK=testnet
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
# ── Wallet Encryption (server-only) ─────────────────────────────────────────
# NOT CURRENTLY USED. This frontend never persists wallet secrets.
# Generate: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
# WALLET_ENCRYPTION_KEY=
# ── Auth (server-only) ───────────────────────────────────────────────────────
# NOT CURRENTLY USED. The session cookie is unsigned while auth is mock-only —
# middleware.ts only checks that it decodes to JSON with a token + future
# expiresAt, it does not verify a signature. This variable is reserved for the
# real JWT signing/verification step described in src/lib/auth-constants.ts
# ("Production-Ready httpOnly Cookie Flow"); wire it up before any real backend
# auth integration. See docs/env.md for details.
# AUTH_SECRET=
# ── Backend API (server-only, optional) ─────────────────────────────────────
# Uses demo data if NEUROWEALTH_API_BASE_URL is not set.
# NEUROWEALTH_API_BASE_URL=http://localhost:8000
# NEUROWEALTH_API_AUTH_TOKEN= # Bearer token for server→backend requests; required when base URL is set
# NEUROWEALTH_PORTFOLIO_PATH=/portfolio/overview
# NEUROWEALTH_TRANSACTIONS_PATH=/transactions
# NEUROWEALTH_STRATEGY_PATH=/strategy/preference