Skip to content

Template features

StoreCay Starter is a full edge store: Astro storefront + same-process Admin/API, deployed as one Cloudflare Worker. Data lives in D1, images in R2, payments via Stripe and/or PayPal.

Private template: storecay/store-cay-starter — access via purchase + GitHub invite (see Overview).

Feature Status
Product catalog / detail / add to cart / cart ✅
Guest checkout (address → shipping → pay) ✅
Stripe Payment Element ✅ (optional keys)
PayPal Checkout ✅ (optional keys)
Discount codes & configurable shipping ✅ Admin → Settings
Fulfillment (ship / tracking / refund) ✅
Order notes & tags ✅
Inventory change audit ✅
Orders CSV export ✅
Blog (list / detail / Admin MDXEditor) ✅
Guest order lookup ✅
Store profile (email, social) ✅
Contact page + email forward ✅ (needs Resend / EMAIL)
Product images via R2 /media/… ✅
Customer accounts ❌ Guest checkout only
Medusa v2 backend ❌ Replaced by D1 + mock SDK
┌──────────────────── Cloudflare Worker ────────────────────┐
│ Astro pages (SSR) React islands │
│ / · /store · /cart … Nav · Cart · Checkout · Admin │
│ │ │
│ Astro API /api/* │
│ ┌────────────┼────────────┐ │
│ ▼ ▼ ▼ │
│ D1 R2 Stripe / PayPal / Resend │
└───────────────────────────────────────────────────────────┘
Route Description
/ Home
/store Catalog (filter / sort)
/store/:id Product detail · add to cart
/cart Cart
/checkout Checkout
/order/confirmed Order confirmation
/order/lookup Guest order lookup
/blog · /blog/:slug Blog
/contact Contact
/privacy · /terms Legal
/admin Admin SPA (EN / ZH UI)
  • Single Worker — storefront + API + admin; no separate Node server
  • D1 — edge-friendly; optimistic inventory updates
  • Guest checkout — no customer login; orders use guest token links
  • Islands — React only where interaction needs it
  • Web Crypto — sessions / password hashing without Node bcrypt

Continue with Quick start or One-click deploy.