← Back to projects

LEGO Store Template

live

Production-ready e-commerce template for marketplace sales

e-commercetemplatenext-js
LEGO Store Template

The Product

A complete, production-ready e-commerce template built to sell on marketplaces like Gumroad, Lemon Squeezy, or ThemeForest. Uses LEGO as the demo theme, but 100% customizable for any niche.

Target price: $49-99 USD (Standard vs Extended with support)

My Role

Creator & Developer — Built the entire template:

Features

CategoryFunctionality
E-commerceCatalog, cart, wishlist, comparator, checkout, search
UX/UIDark mode, animations, responsive, skeletons, toasts
SEODynamic meta tags, Open Graph, 100% score
Testing48 unit tests, E2E with Playwright, Storybook
i18nSpanish + English included

Technical Stack

LayerTechnology
FrameworkNext.js 14 (App Router)
LanguageTypeScript (strict mode)
StylingTailwind CSS + Design Tokens
StateZustand
AnimationsFramer Motion
FormsReact Hook Form + Zod
TestingVitest + Playwright + Storybook

Lighthouse Scores

PerformanceAccessibilityBest PracticesSEO
877996100

Project Structure

src/
├── app/           # Pages (home, cart, checkout, item, search...)
├── components/    # Reusable UI + product components
├── stores/        # Zustand (cart, wishlist, theme, reviews...)
├── lib/           # Utils, API layer, validations
├── hooks/         # Custom hooks (debounce, hydration, infinite scroll)
└── i18n/          # ES/EN translations

Key Decisions

Zustand over Redux

Decision: Zustand for state management.

Reasoning:

Design Tokens

Decision: Custom design token system over raw Tailwind.

Reasoning:

Comprehensive Testing

Decision: 48+ unit tests + E2E + Storybook.

Reasoning:

What Makes It Sellable

  1. Complete — Not a starter, a finished product
  2. Tested — 48+ tests prove reliability
  3. Documented — Buyers can customize easily
  4. Performant — Lighthouse 100 SEO, 87+ performance
  5. Modern Stack — Next.js 14, TypeScript, latest practices

What I Learned