-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
103 lines (89 loc) · 6.39 KB
/
.env.example
File metadata and controls
103 lines (89 loc) · 6.39 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# ─────────────────────────────────────────────────────────────
# Brand / UI
# ─────────────────────────────────────────────────────────────
REACT_APP_APP_NAME="AspectReact Store"
REACT_APP_DEFAULT_LOCALE=en-US
REACT_APP_CURRENCY=USD
# Who appears in the footer © line (client-visible)
REACT_APP_COPYRIGHT_HOLDER="AspectReact Store"
# ─────────────────────────────────────────────────────────────
# Feature flags (client-visible)
# ─────────────────────────────────────────────────────────────
# Show toast notifications for key actions
REACT_APP_ENABLE_TOASTS=true
# ─────────────────────────────────────────────────────────────
# Brand signals (client-visible)
# ─────────────────────────────────────────────────────────────
# Footer credit shown in the UI: “Built with AspectReact”
# Keep these defaults unless your distribution policy requires edits.
REACT_APP_SHOW_POWERED_BY=true
# Add a <meta name="generator" content="AspectReact"> tag to <head>
REACT_APP_META_GENERATOR=true
# ─────────────────────────────────────────────────────────────
# Authentication Mode
# ─────────────────────────────────────────────────────────────
# Options:
# local = Demo-only, credentials stored in browser (no backend)
# api = Custom backend via REACT_APP_API_BASE_URL
# auth0 = Hosted Auth0 Universal Login
#
# Default is "local". Pick one of: local | api | auth0
REACT_APP_AUTH_MODE=local
# API backend (used only in "api" mode)
REACT_APP_API_BASE_URL=http://localhost:4000
# ─────────────────────────────────────────────────────────────
# Auth0 (used only in "auth0" mode)
# ─────────────────────────────────────────────────────────────
# Create a SPA app in Auth0 and copy the Domain and Client ID.
# Allowed Callback URLs: http://localhost:3000
# Allowed Logout URLs: http://localhost:3000
REACT_APP_AUTH0_DOMAIN=your-tenant.us.auth0.com
REACT_APP_AUTH0_CLIENT_ID=your-auth0-client-id
# ─────────────────────────────────────────────────────────────
# Support / Contact
# ─────────────────────────────────────────────────────────────
# Used on the 404 page and any “report a problem” links
REACT_APP_SUPPORT_EMAIL=support@yourdomain.com
# ─────────────────────────────────────────────────────────────
# Optional integrations (placeholders for future checkout/analytics)
# ─────────────────────────────────────────────────────────────
# Stripe (future)
REACT_APP_STRIPE_PUBLISHABLE_KEY=pk_test_yourPublishableKeyHere
# Analytics (future)
REACT_APP_ANALYTICS_WRITE_KEY=your-analytics-key
REACT_APP_ENABLE_ANALYTICS=false
# ──────────────────────────────────────────────────────────────
# Forks / SPDX headers (Node-only; NOT exposed to browser)
# ──────────────────────────────────────────────────────────────
# Read by: tools/copyright-headers.mjs and CI.
# Precedence used by the tool:
# CLI flags > env vars (.env.local / CI) > package.json "config" > git user.name
#
# Set these to your own details when forking (do not remove upstream notices).
COPYRIGHT_OWNER="Your Name or Org"
COPYRIGHT_START=2025
# Keep this in sync with your root LICENSE file.
SPDX_ID=GPL-3.0-or-later
# Tips:
# - Single year (no ranges):
# node tools/copyright-headers.mjs --no-range
# - Force year (overrides detection for this run):
# node tools/copyright-headers.mjs --year 2025
# - CI example (fails if headers are missing/outdated):
# node tools/copyright-headers.mjs --check
# ─────────────────────────────────────────────────────────────
# Dev server / CRA runtime toggles (NOT exposed to browser)
# ─────────────────────────────────────────────────────────────
# Change dev port if 3000 is busy
PORT=3000
# Open HTTPS locally (requires a cert/key)
HTTPS=false
HOST=localhost
# PUBLIC_URL=/
# ─────────────────────────────────────────────────────────────
# Notes
# - Only variables starting with REACT_APP_ are exposed to the client by CRA.
# - After editing .env, stop and restart `npm start` to apply changes.
# - You can also create:
# .env.development, .env.production, .env.local (ignored by git), etc.
# ─────────────────────────────────────────────────────────────