Simulacrum

E-commerce template

A complete e-commerce application with product management, shopping cart, Stripe checkout, order tracking, wishlist, reviews, inventory management, and a revenue-focused admin dashboard.

npx simulate ecommerce my-store

14 routes · 13 components · Revenue admin

/
/products
/products/[id]
/cart
/checkout
/checkout/success

Generated project structure

What you get when you run npx simulate ecommerce my-store

my-ecommerce/
  • -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
  • -page.tsx
  • -page.tsx
  • ... 43+ 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

Total RevenueOrdersAverage Order ValueConversion RateTop ProductsRevenue by CategoryInventory Alerts

Scaffold stats

Pages
15
Components
13
RBAC roles
4
Dashboard KPIs
7

Pages included

  • /
  • /products
  • /products/[id]
  • /cart
  • /checkout
  • /checkout/success
  • /orders
  • /wishlist
  • /about
  • /contact
  • /admin
  • /admin/products
  • /admin/orders
  • /admin/customers
  • /admin/analytics

Key components

  • Header
  • Footer
  • ProductCard
  • ProductGrid
  • CartDrawer
  • CheckoutForm
  • FilterSidebar
  • SearchBar
  • ReviewStars
  • OrderSummary
  • HeroBanner
  • WishlistButton
  • QuantitySelector

Admin dashboard

Template-native metrics powered by Recharts and TanStack Table

Total Revenue

---

Orders

---

Average Order Value

---

Conversion Rate

---

Top Products

---

Revenue by Category

---

Inventory Alerts

---

Default stack

Database
Supabase
Auth
Google, Credentials
Payments
Stripe

RBAC roles

  • super_admin
  • admin
  • staff
  • customer

npx simulate ecommerce my-store