ENV / Metadata Catalog
Frontend (both apps). Names only — never paste secret values.
Sources: frontend-bookdirect-user-app/.github/workflows/deploy-develop.yml inject step.
| Name | Turns on |
|---|---|
NEXT_PUBLIC_API_BASE_URL | Core Backend origin (https://backend-dev.bookdirect.live) |
NEXT_PUBLIC_MIDDLEWARE_API_URL | Middleware origin |
NEXT_PUBLIC_API_KEY | Public browse / auth key in the browser — treat as public |
NEXT_PUBLIC_PARTNER_SESSION_COOKIE_NAME | Extranet session cookie (bd_partner_session) |
NEXT_PUBLIC_DIRECT_S3_UPLOAD | true = browser PUT to S3; default proxy via /api/upload |
VITE_CORE_BACKEND_BASE_API_URL | Still injected; Next reads NEXT_PUBLIC_* first |
VITE_MIDDLEWARE_API_URL | Same |
VITE_APP_API_KEY | Same as public key (legacy name) |
VITE_APP_DOMAIN | App origin |
VITE_APP_PAYSTACK_URL | Paystack API host — do not charge from the browser; winner is Middleware payments |
VITE_GOOGLE_CLIENT_ID / VITE_GOOGLE_REDIRECT_URI | OAuth UI |
VITE_CRYPTO_ENGINE_API_URL | Not a v1 lodging winner |
VITE_SECRET_KEY | Injected; do not document the value |
Amenities: hard-code the local tick list. Not an ENV.
Per-app: Frontend — Marketplace · Frontend — Extranet
PM index: ENV / Metadata Catalog. Screen → ENV: activation matrix.