
Furniture Marketplace
Furniture marketplace on Sanity CMS with Stripe payments, server-verified pricing, idempotent webhooks and query-level filtering for a large catalogue.
01 // Overview
Custom eCommerce Solution
A fully featured furniture marketplace with CMS and payments.
Sanity CMS
Easy content management for product catalog.
Stripe Payments
Secure, reliable payment processing.
Smart Filters
Advanced search and filtering for products.
Engineering
The Decisions Behind It.
What made this hard?
A marketplace makes three systems depend on each other: the CMS's content, Stripe's payments, and the app's own cart state. Any mismatch between them becomes a failed order.
How was the system structured?
Sanity is the source of truth for content, but price verification happens server-side at checkout, so a price coming from the client is never trusted. Stripe webhooks confirm order state rather than relying on the redirect.
What does the codebase look like now?
Filtering is implemented at the query level rather than client-side, so a large catalog stays performant. Webhook handlers are idempotent, so duplicate events cannot create duplicate orders.