Simulacrum

Marketplace template

A multi-vendor marketplace with product listings, vendor storefronts, commission tracking, order routing, review system, and admin analytics.

npx simulate marketplace my-market

13 routes · 8 components · Vendor admin

/
/products
/products/[id]
/vendors
/vendors/[id]
/cart

Generated project structure

What you get when you run npx simulate marketplace my-market

my-marketplace/
  • -layout.tsx
  • -globals.css
  • +
  • +
  • +
  • +
  • -site.ts
  • -tailwind.config.ts
  • -package.json
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -page.tsx
  • -product-card.tsx
  • -vendor-card.tsx
  • ... 36+ files total

Available scripts

  • npm run dev
  • npm run build
  • npm run lint
  • npm run db:push
  • npm run db:studio
  • npm run test
  • npm run e2e
  • npm run typecheck

Admin dashboard metrics

GMVVendor countCommission revenueDisputesTop vendors

Scaffold stats

Pages
13
Components
8
RBAC roles
4
Dashboard KPIs
5

Pages included

  • /
  • /products
  • /products/[id]
  • /vendors
  • /vendors/[id]
  • /cart
  • /checkout
  • /vendor/dashboard
  • /vendor/products
  • /admin
  • /admin/vendors
  • /admin/commissions
  • /admin/analytics

Key components

  • ProductCard
  • VendorCard
  • VendorStorefront
  • CommissionTable
  • OrderRouting
  • DisputePanel
  • ReviewCard
  • SearchBar

Admin dashboard

Template-native metrics powered by Recharts and TanStack Table

GMV

---

Vendor count

---

Commission revenue

---

Disputes

---

Top vendors

---

Default stack

Database
Supabase
Auth
Google, GitHub, Credentials
Payments
Stripe

RBAC roles

  • super_admin
  • admin
  • vendor
  • customer

npx simulate marketplace my-market