Sign in and sync from the Google Sheet (Data Source tab for managers), or use cached data after a successful sync.
Select a silhouette, metal, size and gemstone to calculate pricing.
Select a silhouette, metal and gemstone
to generate
pricing.
Live connection to the By Baby Google Sheet via Cloudflare Worker.
[{"username":"m1","password":"…","role":"manager"},{"username":"s1","password":"…","role":"staff"}]
(any number of managers/staff). Alternatively use legacy
MANAGER_USERNAME /
MANAGER_PASSWORD and
STAFF_USERNAME /
STAFF_PASSWORD.WORKER_BASE_URL constant to your Worker
origin (no trailing slash). Add that Pages URL to
ALLOWED_ORIGINS on the Worker. Sign-in uses
POST /auth; sync uses
GET /sheet with a Bearer token. Sending a
quote uses POST /send-quote (Resend):
configure RESEND_API_KEY and
MAIL_FROM on the Worker.
Access is managed in the Worker (not in the browser).
Loading…