ecome · multi-tenant SaaS commerce runtime

Demo deployment

SaaS foundation + 5-dim order lifecycle + plan entitlement + API key & webhook runtime — built bottom-up over 10 phases against spec 12. Sign in below to walk through it.

Sign in →

NEW · Phase D-full + H storefront

The 6 catalog / customer / marketing / content admin modules are live, and the public storefront is now reachable directly — no sign-in required.

🛍 Visit storefront → /shop/casa-nh/shop/k-style

Admin (backstage)

  • /tenant/billing — plan + entitlement progress
  • /tenant/audit-logs — append-only event log
  • /tenant/developer/api-webhooks — secret-once flow
  • /stores/[id]/orders — 5-dim lifecycle table
  • /stores/[id]/products · /inventory · /customers
  • /stores/[id]/coupons · /kol-groupbuy · /content

Storefront (consumer)

  • /shop/[slug] — store home + featured products
  • /shop/[slug]/products/[handle] — variant picker + add to cart
  • /shop/[slug]/cart — guest cookie cart
  • /shop/[slug]/checkout — guest checkout → Order
  • /shop/[slug]/blog — published articles (markdown)
  • /shop/[slug]/kol/[slug] — KOL groupbuy landing

Stack: Next.js 16 App Router · Prisma 6 · Postgres (Neon) · Auth.js v5 · 32 models · 18 enums · every mutation = permission → entitlement → tx(entity + UsageLedger + AuditLog) · source on GitHub

Demo data: 1 tenant (tnt_casa) · 2 stores (CASA.NH + K-Style) · 6 products + 8 variants · 8 inventory rows · 3 customers · 3 coupons · 2 KOL groupbuys · 4 articles · 6 orders covering every lifecycle state · 2 API keys · 2 webhook endpoints. All idempotent — every deploy re-runs the seed.