THREAD — E-Commerce Platform
Full-stack headless commerce with custom modules and demo mode architecture
A complete e-commerce storefront built on Medusa.js v2 (headless commerce engine) and Next.js 15. Features custom backend modules for reviews and webhooks, event-driven architecture with 6 subscribers, and a novel demo mode pattern that lets the site run fully without a live backend. 280+ components, 59 test files, warm editorial design system.
Key Decisions
- ›Custom Medusa modules (reviews, webhooks) with model, service, migrations, and admin widgets
- ›Demo mode data wrapper pattern — tries real API, falls back to typed static data
- ›280+ components, 12 custom hooks, 5 Zustand stores, 59 test files
- ›Warm editorial design system with Playfair Display serif + product imagery