Jasmine Skincare — Integrations & Setup
This document covers every integration the storefront and admin dashboard support,
and how to connect each one. Secrets are
env vars only — they never ship to the browser.
Deployment is static (
npm run build →
dist/) plus
api/ serverless functions (Vercel Node).
1. Stripe (international cards + NGN)
Flow: cart →
POST /api/stripe-session (server recomputes total from catalog, creates Checkout Session) → Stripe-hosted page → webhook
api/stripe-webhook records the order →
/order-success?provider=stripe verifies server-side.
Currency: the checkout asks for country at the delivery step. Nigerian buyers check out in NGN (Paystack/Flutterwave/Stripe); international buyers check out in
USD (Stripe/PayPal — server recomputes the total at ₦1,000 = $1, never trusting the client). Delivery details (name, phone, address or pickup) are required before payment — the customer record is saved with the order.
Flow: cart → enter email →
Pay with Paystack → server
recomputes the ₦ total from the catalog (
/api/paystack-initialize) → records a
pending order → redirects to Paystack's hosted checkout → customer returns to
/order-success?provider=paystack&ref=… →
/api/paystack-verify confirms with the Secret key
and finalizes the order (pending → paid, stock decrement, receipt email). A registered webhook (
/api/paystack-webhook) is the authoritative fulfillment signal and also finalizes — both paths are idempotent, so duplicates never double-fulfill.
Env:
| Var | Where | Notes |
|-----|-------|-------|
|
PAYSTACK_SECRET_KEY | Vercel env, serverless only |
sk_live_… or
sk_test_… |
The public inline key is
not needed — checkout uses Paystack's hosted page (works with script blockers, no SDK to load).
Steps:
1. dashboard.paystack.com →
Settings → API Keys & Webhooks → copy
Secret Key.
2. Add
PAYSTACK_SECRET_KEY to Vercel env (
vercel env add PAYSTACK_SECRET_KEY production), redeploy.
3.
Register the webhook: Paystack → Settings → API Keys & Webhooks →
Webhook URL →
https://jasminnaturals.com/api/paystack-webhook. (Optional but recommended — without it, fulfillment happens when the customer lands back on
/order-success.)
4.
Schema: orders.items jsonb (see
supabase/schema.sql /
schema_extension.sql) — stores the cart snapshot per order; used for stock decrement and receipts. Run the extension if your DB predates it; without it, orders still record (cart snapshot is skipped) but stock is not decremented automatically.
5. Local dev: set
PAYSTACK_SECRET_KEY in
.env.local; the
Paystack button is always visible in the cart drawer.
6. Use Paystack test card
4084 0840 8408 4081 (PIN
0000) before going live.
3. Flutterwave (Nigerian customers, alt gateway)
Flow: same as Paystack. Cart → popup →
/order-success?provider=flutterwave… → verify via
api/flutterwave-verify.
Env:
| Var | Where | Notes |
|-----|-------|-------|
|
FLUTTERWAVE_SECRET_KEY | Vercel env, serverless only |
FLWSECK_TEST_… /
FLWSECK_LIVE_… |
|
PUBLIC_FLUTTERWAVE_KEY | Vercel env,
public |
FLWPUBK_TEST_… /
FLWPUBK_LIVE_… |
Steps:
1. dashboard.flutterwave.com → Settings → API → create/copy
Public and
Secret keys.
2. Add
PUBLIC_FLUTTERWAVE_KEY and
FLUTTERWAVE_SECRET_KEY to Vercel env → redeploy.
3. Flutterwave →
Webhooks → add
https:///api/flutterwave-verify for
instant booking (optional; the return page is self-verifying).
4. KYC: business verification required for live keys (CAC + ID + utility bill). Test keys come instantly.
5. Test card:
5531886652142950, exp
09/32, CVV
564, PIN
3310, OTP
12345.
4. PayPal (international — auto-currency)
Flow: cart →
Pay with PayPal buttons → server creates order → approve → server captures →
/order-success?provider=paypal&orderID=….
Env:
| Var | Where | Notes |
|-----|-------|-------|
|
PAYPAL_CLIENT_ID | Vercel env,
public | sandbox or live |
|
PAYPAL_CLIENT_SECRET | Vercel env, serverless only | sandbox or live |
|
PAYPAL_ENV | Vercel env |
sandbox (default) or
live |
Steps:
1. developer.paypal.com → Dashboard → My apps & credentials → create app (or use
Default Application).
2. Copy
Client ID →
PAYPAL_CLIENT_ID,
Secret →
PAYPAL_CLIENT_SECRET (Vercel env).
3. Start in
sandbox (default). Test with sandbox personal accounts; flip
PAYPAL_ENV=live when ready.
4. In sandbox you will see "Approved — test" on the cart; in live it charges.
5. Orders storage (Supabase)
The static site has no database. To make orders persistent and queryable from the admin,
provision
Supabase (free, 500 MB Postgres, unlimited API requests for low traffic).
Env:
| Var | Where | Notes |
|-----|-------|-------|
|
SUPABASE_URL | Vercel env, serverless only | e.g.
https://xyz.supabase.co |
|
SUPABASE_SERVICE_ROLE_KEY | Vercel env, serverless only |
NEVER expose client-side |
Setup:
1. supabase.com → new project (pick region
eu-central-1 or
ap-south-1 for latency to Nigeria).
2. SQL Editor → paste and run
supabase/schema.sql.
3. Project Settings → API → copy
Project URL →
SUPABASE_URL, copy
service_role secret →
SUPABASE_SERVICE_ROLE_KEY.
4. Redeploy. Verify:
curl https:///api/orders should return
{"orders":[],"limit":50,"offset":0} instead of 501.
5. The admin → Orders tab now shows real orders; CSV export works.
Security: the service role key must never be committed or shipped to the browser. It lives only in Vercel env. The row-level policy in
schema.sql denies anonymous writes entirely; all writes go through
/api/orders* which are server-side.
Backups: Supabase free tier auto-backs up daily. Optionally schedule
pg_dump to object storage.
6. Mailchimp (newsletter)
Flow: footer form → client POSTs
/api/mailchimp-subscribe → Mailchimp list.
Env:
| Var | Where | Notes |
|-----|-------|-------|
|
MAILCHIMP_API_KEY | Vercel env, serverless only | account → extras → API keys |
|
MAILCHIMP_LIST_ID | Vercel env | audience ID (Audience → View settings) |
|
MAILCHIMP_SERVER_PREFIX | Vercel env | e.g.
us21 |
Steps: add the three vars to Vercel env → redeploy → try the footer subscribe form.
Unset → the endpoint returns 501; the client silently accepts the email locally without claiming success (storefront never mis-reports a subscription).
7. Auth & admin security
/admin is protected by a
server-verified PIN session — not a client-side gate.
- The PIN lives only in the
ADMIN_PIN env var (Vercel → Settings → Environment Variables). It is never shipped in any page, bundle or build output.
POST /api/admin/login verifies the PIN with a timing-safe comparison and sets an HttpOnly, SameSite=Strict cookie (js_admin_session, 12h, Secure on HTTPS). The cookie carries a stateless HMAC-SHA256-signed token (secret: ADMIN_SESSION_SECRET, falls back to a key derived from ADMIN_PIN).
- Rate limited: 5 failed attempts per IP+user-agent → 15-minute lock. State lives in the
admin_auth_attempts table (see supabase/schema.sql); without Supabase the limiter falls back to best-effort in-memory per instance.
GET /api/admin/session reports whether the cookie is valid (the /admin boot screen uses it to decide between the PIN form and the dashboard — no client-side auth logic at all).
POST /api/admin/logout clears the cookie.
- Admin-only API routes (401 without a valid cookie):
GET/POST/PATCH /api/orders, PATCH /api/reviews, POST /api/restock/notify, GET /api/low-stock, GET /api/analytics/metrics. Storefront/customer endpoints (/api/paystack-verify, /api/gift-cards, /api/coupons, /api/reviews GET/POST, …) are intentionally public and CSRF-guarded.
Setup: set ADMIN_PIN (≥ 6 chars, use a long random string) in Vercel env and redeploy. Unset → /api/admin/login returns 501 and admin API routes refuse with 501; the /admin page shows a "not configured" message. To change the PIN, update ADMIN_PIN and redeploy. For the strongest boundary, also enable Vercel Password Protection (paid add-on) on the project — it shields everything, including the page chrome.
Schema (add to supabase/schema.sql if you want the distributed rate limiter):
sql
create table if not exists public.admin_auth_attempts (
bucket text primary key,
fails int not null default 0,
locked_until timestamptz,
updated_at timestamptz not null default now()
);
alter table public.admin_auth_attempts enable row level security;
-- No anon/authenticated policies: only the service role may read/write.
The
admin_auth_attempts table is optional — without it (or without Supabase configured), the limiter degrades to best-effort in-memory and everything else works.
8. WhatsApp (still the primary checkout)
Unchanged — the cart's primary CTA opens
wa.me/ with the order pre-filled.
Admin → Integrations →
WhatsApp checkout lets you preview that exact link.
9. Environment variable summary
| Var | Public | Purpose |
|-----|--------|---------|
|
PAYSTACK_SECRET_KEY | no | server-side verify + link create |
|
FLUTTERWAVE_SECRET_KEY | no | server-side verify |
|
PUBLIC_FLUTTERWAVE_KEY | yes | inline Flutterwave popup |
|
STRIPE_SECRET_KEY | no | Checkout Session create + verify |
|
STRIPE_WEBHOOK_SECRET | no | webhook signature check |
|
PUBLIC_STRIPE_READY | yes | show Stripe button |
|
PAYPAL_CLIENT_ID | yes | PayPal SDK |
|
PAYPAL_CLIENT_SECRET | no | order create/capture |
|
PAYPAL_ENV | yes |
sandbox /
live |
|
SUPABASE_URL | no | order storage |
|
SUPABASE_SERVICE_ROLE_KEY | no | order storage |
|
MAILCHIMP_API_KEY | no | newsletter subscribe |
|
MAILCHIMP_LIST_ID | no | newsletter subscribe |
|
MAILCHIMP_SERVER_PREFIX | no | newsletter subscribe |
.env.example ships the same list with placeholder values.
13. New e-commerce API routes (all serverless, Supabase-backed)
All routes below return
501 not_configured until
SUPABASE_URL +
SUPABASE_SERVICE_ROLE_KEY are set in Vercel env — except
/api/shipping and
/api/bundle-price which work without Supabase.
13a. Coupons — POST /api/coupons
Validate a discount code and compute the discount amount.
Body: { code, subtotal_ngn, items: [{slug, size, quantity, line_ngn}] }
Response: { ok, code, type, value, discount_ngn, new_total_ngn } or
{ ok: false, reason }
Supabase table: public.coupons
13b. Gift Cards — POST /api/gift-cards
Validate a gift card code and check balance.
Body: { code, amount_ngn }
Response: { ok, code, balance_ngn, remaining_ngn, card_id } or
{ ok: false, reason }
Supabase table: public.gift_cards
13c. Order Tracking — GET /api/tracking?reference=XXX&email=XXX
Public order status + carrier tracking lookup.
Response: { order: {reference, status, amount_ngn, ...}, tracking: [{carrier, tracking_number, status, ...}] }
Supabase table: public.order_tracking
13d. Invoice (HTML) — GET /api/invoice?reference=XXX&email=XXX
Generate a printable HTML tax invoice (₦ line items, VAT, discounts, gift card).
Response: HTML document (browser prints to PDF).
Supabase table: public.orders
13e. Invoice (PDF) — GET /api/invoice-pdf?reference=XXX&email=XXX
Generate a downloadable PDF invoice using pdf-lib server-side.
Response: PDF file attachment (
invoice-{reference}.pdf).
Supabase table: public.orders
13f. Email Receipt — POST /api/email-receipt
Send an order receipt email with PDF invoice link via SMTP.
Body: { reference, email }
Requires: SMTP_HOST,
SMTP_USER,
SMTP_PASS env vars.
Response: { ok, messageId }
13g. Product Reviews — GET|POST|PATCH /api/reviews
GET with ?product_slug=XXX — list approved reviews
POST {product_slug, customer_email, rating, title, body} — submit review (moderation queue)
PATCH {id, approved} — admin approve/reject
Supabase table: public.product_reviews
13h. Restock Notifications — POST /api/restock
Subscribe to back-in-stock email alerts.
Body: { product_slug, email }
Supabase table: public.restock_requests
13i. Abandoned Cart — POST /api/abandoned-cart
Save a cart for recovery email campaigns.
Body: { email, cart_data: [...] }
Supabase table: public.abandoned_carts
13j. Referrals — GET|POST|PATCH /api/referrals
GET with ?code=XXX — validate referral code
POST {referrer_email, referral_code} — create affiliate code
PATCH {code, status, commission_ngn} — admin mark commission paid
Supabase table: public.referrals
13k. Referral Apply — POST /api/referral-apply
Apply a referral code at checkout for customer discount + referrer commission.
Body: { referral_code, subtotal_ngn, customer_email }
Response: { ok, referral_code, discount_percent, discount_ngn, new_total_ngn, commission_ngn }
13l. Shipping Calculator — POST /api/shipping
Real-time courier quotes by Nigerian state + weight + cart total.
Body: { state, weight_g, subtotal_ngn }
Response: shipping options with prices and ETAs. Free standard shipping above ₦50,000.
13m. Subscriptions — POST /api/subscriptions
Create Stripe Subscription Checkout Session (monthly/quarterly/yearly recurring billing).
Body: { items, interval, customer_email, coupon_code?, discount_ngn? }
Response: { id, url, total_ngn }
Webhook: invoice.payment_succeeded,
customer.subscription.updated/deleted handled by
api/stripe-webhook
Supabase table: public.subscriptions
13n. Subscription Cancel — POST /api/subscription-cancel
Customer cancellation portal — sets
cancel_at_period_end = true.
Body: { stripe_sub_id, customer_email }
13o. Customer Profiles — GET|POST|PATCH /api/customer
Create/update B2B customer profiles (wholesale flag, addresses).
Body: { email, name, phone, wholesale, addresses }
Supabase table: public.customer_profiles
13p. Wholesale Pricing — GET /api/wholesale-price?slug=XXX&size=XXX&quantity=N&email=XXX
Tiered B2B pricing (5%/10%/15%/20% at 10/25/50/100 units) for wholesale accounts.
13q. Bundle Builder — POST /api/bundle-price
"Build Your Kit" multi-item discounts (3+ items = 5-10%, 6+ items = 10-15%).
Body: { items: [{slug, size, quantity}], bundle_type: 'starter'|'premium'|'custom' }
13r. WhatsApp OTP Auth — POST /api/whatsapp-otp?action=send|verify
Customer authentication via WhatsApp OTP (no passwords).
send: Body { phone } → returns OTP (test mode) or sends via WhatsApp API (live mode)
verify: Body { phone, code } → returns session token
13s. 1-Click Reorder — POST /api/reorder
Add a past order's items to cart for re-purchase.
Body: { reference, email } (order must be paid/fulfilled)
Response: { items, subtotal_ngn, total_ngn }
13t. Low-Stock Alert — GET /api/low-stock?threshold=5
List products at or below stock threshold. Can be called via Vercel Cron.
Response: { threshold, low_stock_count, low_stock: [...] }
13u. Cart Restore — GET /api/cart-restore?token=XXX
Restore an abandoned cart by token.
Response: { items, subtotal_ngn, total_ngn }
13v. Analytics — POST /api/analytics
Privacy-first server-side event logging (SHA-256 hashed IP).
Body: { event, path, referrer, ip_hash, user_agent }
Supabase table: public.analytics_events
13w. Orders (extended)
POST /api/orders now stores:
coupon_code,
discount_ngn,
tax_ngn,
gift_card_code,
gift_card_amount_ngn,
referral_code,
payment_terms,
due_date.
GET /api/orders lists all orders for admin CSV export.
Supabase table: public.orders
Schema: run
supabase/schema_extension.sql after
supabase/schema.sql to create all new tables.
The full migration takes <30 seconds to paste and run in the Supabase SQL editor — it is purely additive (new tables, new nullable columns, no existing data changed). To check what is present at any time, hit
/admin/diagnostics as a logged-in admin — the Settings page has a "Database diagnostics" card that probes every table the store needs and shows OK/MISSING per table. Every DB-backed feature reports
not_configured or a clean
401/
501 until the migration runs; the storefront and checkout remain up — they simply poll empty tables.
14. Environment variable summary (full)
| Var | Public | Purpose |
|-----|--------|---------|
|
PAYSTACK_SECRET_KEY | no | server-side verify + link create |
|
FLUTTERWAVE_SECRET_KEY | no | server-side verify |
|
PUBLIC_FLUTTERWAVE_KEY | yes | inline Flutterwave popup |
|
STRIPE_SECRET_KEY | no | Checkout Session + subscription create |
|
STRIPE_WEBHOOK_SECRET | no | webhook signature check |
|
PUBLIC_STRIPE_READY | yes | show Stripe button |
|
PAYPAL_CLIENT_ID | yes | PayPal SDK |
|
PAYPAL_CLIENT_SECRET | no | order create/capture |
|
PAYPAL_ENV | yes |
sandbox /
live |
|
SUPABASE_URL | no | order + e-commerce storage |
|
SUPABASE_SERVICE_ROLE_KEY | no | order + e-commerce storage |
|
MAILCHIMP_API_KEY | no | newsletter subscribe |
|
MAILCHIMP_LIST_ID | no | newsletter subscribe |
|
MAILCHIMP_SERVER_PREFIX | no | newsletter subscribe |
|
SMTP_HOST | no | email sending host |
|
SMTP_PORT | no | email sending port (default 587) |
|
SMTP_USER | no | email sending username |
|
SMTP_PASS | no | email sending password |
|
SMTP_SECURE | no |
true for TLS/SSL |
|
SMTP_FROM | no | from email address (default: orders@jasminnaturals.com) |
|
WHATSAPP_OTP_MODE | no |
test (returns OTP in response) or
live (sends via WhatsApp API) |
|
ADMIN_ALERT_EMAIL | no | email for low-stock alerts |
.env.example ships the same list with placeholder values.
15. Frontend features
Size Chart / Fit Guide
Products with a
size_chart field in
catalog.js display a collapsible size guide on the product page.
Pre-Order Mode
Products with
pre_order: true in
catalog.js show a "PRE-ORDER" button and badge instead of "ADD TO BAG".
Auto-Apply Promo URL
Visiting
/?promo=CODE or
/shop?promo=CODE automatically validates and applies the discount code at checkout.
1-Click Reorder
The reorder API (
/api/reorder) lets customers re-add past order items to their cart. Call from order history or account page.
16. Deploy
bash
git add .
git commit -m "ops: storefront + admin integrations"
git push
Vercel runs
npm run build automatically on push. Set the env vars in
Project → Settings → Environment Variables before the first push. Re-check via
admin → Overview (green CONNECTED badges) or
curl https:///api/health.
10. Local preview with /api/*
node serve.mjs (port 8080) now serves
/api/* from
api/ using Node's built-in fetch.
Put real keys in
.env.local at repo root (never committed) then restart the server.
bash
npm run build
node serve.mjs # listens on 8080
11. Deploy
bash
git add .
git commit -m "ops: storefront + admin integrations"
git push
Vercel runs
npm run build automatically on push. Set the env vars in
Project → Settings → Environment Variables before the first push. Re-check via
admin → Overview (green CONNECTED badges) or
curl https:///api/health.
12. New e-commerce API routes (all serverless, Supabase-backed)
All routes below return
501 not_configured until
SUPABASE_URL +
SUPABASE_SERVICE_ROLE_KEY are set in Vercel env — except
/api/shipping and
/api/bundle-price which work without Supabase.
12a. Coupons — POST /api/coupons
Validate a discount code and compute the discount amount.
Body: { code, subtotal_ngn, items: [{slug, size, quantity, line_ngn}] }
Response: { ok, code, type, value, discount_ngn, new_total_ngn } or
{ ok: false, reason }
Supabase table: public.coupons
12b. Gift Cards — POST /api/gift-cards
Validate a gift card code and check balance.
Body: { code, amount_ngn }
Response: { ok, code, balance_ngn, remaining_ngn, card_id } or
{ ok: false, reason }
Supabase table: public.gift_cards
12c. Order Tracking — GET /api/tracking?reference=XXX&email=XXX
Public order status + carrier tracking lookup.
Response: { order: {reference, status, amount_ngn, ...}, tracking: [{carrier, tracking_number, status, ...}] }
Supabase table: public.order_tracking
12d. Invoice — GET /api/invoice?reference=XXX&email=XXX
Generate a printable HTML tax invoice (₦ line items, VAT, discounts, gift card).
Response: HTML document (browser prints to PDF).
Supabase table: public.orders
12e. Product Reviews — GET|POST|PATCH /api/reviews
GET with ?product_slug=XXX — list approved reviews
POST {product_slug, customer_email, rating, title, body} — submit review (moderation queue)
PATCH {id, approved} — admin approve/reject
Supabase table: public.product_reviews
12f. Restock Notifications — POST /api/restock
Subscribe to back-in-stock email alerts.
Body: { product_slug, email }
Supabase table: public.restock_requests
12g. Abandoned Cart — POST /api/abandoned-cart
Save a cart for recovery email campaigns.
Body: { email, cart_data: [...] }
Supabase table: public.abandoned_carts
12h. Referrals — GET|POST|PATCH /api/referrals
GET with ?code=XXX — validate referral code
POST {referrer_email, referral_code} — create affiliate code
PATCH {code, status, commission_ngn} — admin mark commission paid
Supabase table: public.referrals
12i. Shipping Calculator — POST /api/shipping
Real-time courier quotes by Nigerian state + weight + cart total.
Body: { state, weight_g, subtotal_ngn }
Response: shipping options with prices and ETAs. Free standard shipping above ₦50,000.
12j. Subscriptions — POST /api/subscriptions
Create Stripe Subscription Checkout Session (monthly/yearly recurring billing).
Body: { items, interval, customer_email, coupon_code?, discount_ngn? }
Response: { id, url, total_ngn }
Webhook: invoice.payment_succeeded,
customer.subscription.updated/deleted handled by
api/stripe-webhook
Supabase table: public.subscriptions
12k. Customer Profiles — GET|POST|PATCH /api/customer
Create/update B2B customer profiles (wholesale flag, addresses).
Body: { email, name, phone, wholesale, addresses }
Supabase table: public.customer_profiles
12l. Wholesale Pricing — GET /api/wholesale-price?slug=XXX&size=XXX&quantity=N&email=XXX
Tiered B2B pricing (5%/10%/15%/20% at 10/25/50/100 units) for wholesale accounts.
12m. Bundle Builder — POST /api/bundle-price
"Build Your Kit" multi-item discounts (3+ items = 5-10%, 6+ items = 10-15%).
Body: { items: [{slug, size, quantity}], bundle_type: 'starter'|'premium'|'custom' }
12n. Analytics — POST /api/analytics
Privacy-first server-side event logging (SHA-256 hashed IP).
Body: { event, path, referrer, ip_hash, user_agent }
Supabase table: public.analytics_events
12o. Orders (extended)
POST /api/orders now stores:
coupon_code,
discount_ngn,
tax_ngn,
gift_card_code,
gift_card_amount_ngn,
referral_code.
GET /api/orders lists all orders for admin CSV export.
Supabase table: public.orders
Schema: run
supabase/schema_extension.sql after
supabase/schema.sql to create all new tables.
The full migration takes <30 seconds to paste and run in the Supabase SQL editor — it is purely additive (new tables, new nullable columns, no existing data changed). To check what is present at any time, hit
/admin/diagnostics as a logged-in admin — the Settings page has a "Database diagnostics" card that probes every table the store needs and shows OK/MISSING per table. Every DB-backed feature reports
not_configured or a clean
401/
501 until the migration runs; the storefront and checkout remain up — they simply poll empty tables.
13. Environment variable summary (full)
| Var | Public | Purpose |
|-----|--------|---------|
|
PAYSTACK_SECRET_KEY | no | server-side verify + link create |
|
FLUTTERWAVE_SECRET_KEY | no | server-side verify |
|
PUBLIC_FLUTTERWAVE_KEY | yes | inline Flutterwave popup |
|
STRIPE_SECRET_KEY | no | Checkout Session + subscription create |
|
STRIPE_WEBHOOK_SECRET | no | webhook signature check |
|
PUBLIC_STRIPE_READY | yes | show Stripe button |
|
PAYPAL_CLIENT_ID | yes | PayPal SDK |
|
PAYPAL_CLIENT_SECRET | no | order create/capture |
|
PAYPAL_ENV | yes |
sandbox /
live |
|
SUPABASE_URL | no | order + e-commerce storage |
|
SUPABASE_SERVICE_ROLE_KEY | no | order + e-commerce storage |
|
MAILCHIMP_API_KEY | no | newsletter subscribe |
|
MAILCHIMP_LIST_ID | no | newsletter subscribe |
|
MAILCHIMP_SERVER_PREFIX | no | newsletter subscribe |
.env.example ships the same list with placeholder values.
Custom domain
jasminnaturals.com is the intended production domain but is
not registered in DNS yet (checked 2026-11-16 —
ENOTFOUND). All canonicals, sitemap, robots.txt, llms.txt and API origin-check fallbacks point there; SITE_URL in Vercel env can override at any time. To go live: buy
jasminnaturals.com, add it in Vercel → Project → Settings → Domains, set
SITE_URL=https://jasminnaturals.com, redeploy. Until then the live deployment runs at
https://jasmine-skincare.vercel.app (aliased), per earlier sessions; if you want, set
SITE_URL=https://jasmine-skincare.vercel.app to flip canonicals back with zero code changes.