Developer Hub
Spree Commerce for Developers
REST API, TypeScript SDK, and production-ready Next.js storefront. Self-host it. Own your stack. No vendor lock-in. Zero platform fees. Free Sandbox.
OR INSTALL LOCALLY
npx create-spree-app@latest my-storeStay in the loop
Join the community and learn how other people get the most out of Spree.
Github15k+ stars
Build any eCommerce solution that your business requires.
ExploreRubyGems2.5M downloads
Trusted by thousands of developers version after version.
Explore
Blog
Spree Commerce open-source
Check out these related posts for more insights and tips on the topic
Spree Commerce 5.3: Customer Groups — Segmentation for Personalized Commerce
Why VC-Funded Startups Need Source-Available, Self-Hosted eCommerce
Spree Commerce Open Source: 15,000 GitHub Stars and Counting
Spree Commerce Integration with ChatGPT Instant Checkout: Buy Directly through ChatGPT
📜 Spree Open-source eCommerce: Centralized Policy Pages for Legal Clarity & Brand Trust
📝 Spree Open-source eCommerce: Built-In Blog for Shoppable Content and SEO Wins
🔍 Spree Open-source eCommerce: Full-Text Search That Scales with Your Product Catalog
🧠 Spree Open-source eCommerce: Add Custom Code to Your Storefront Without Developers
Blog
Ecommerce AI
Check out these related posts for more insights and tips on the topic
Blog
Next.js storefront
Check out these related posts for more insights and tips on the topic
7 Real-World Next.js B2B eCommerce Websites From Staples to HashiCorp
14 Amazing Next.js Marketplace Websites From DoorDash to StockX
9 Amazing Next.js Fashion eCommerce Websites From Nike to Depop
Spree Commerce API v3 & the Next.js Storefront Starter for Amazing Shopping Experiences
How to Migrate Your Spree Backend to Spree 5 While Keeping Your Decoupled Frontend
From Tenant to Owner: Stop Building Your eCommerce on Rented Land
Why the Fastest-Growing eCommerce Brands Are Choosing Next.js Storefronts on Spree
Next.js Home & Electronics eCommerce: 11 Storefronts From Sonos to Porsche
How to Lift and Shift Your Next.js Storefront to a Spree 5 Backend
Why Pairing Spree Commerce with Next.js Commerce Delivers a Future-Proof eCommerce Platform
Next.js Commerce: The Go-To Framework for Building Modern Storefronts
Frequently Asked Questions
Which open source ecommerce platforms support Next.js ecommerce?
Spree Commerce ships a production-ready Next.js storefront with TypeScript, pre-built cart, checkout, account pages, and multi-language support. The starter connects to the REST API through a typed SDK, so frontend teams can fork the repo and start customizing immediately. Most headless platforms require building the storefront from scratch or buying third-party templates.
How do you evaluate an open source ecommerce platform for a custom build?
Start with API coverage, because every frontend feature depends on it. Check whether the platform provides REST endpoints, typed client SDKs, and OpenAPI specs for code generation. Then assess the developer onboarding path: a working storefront starter, a CLI that scaffolds projects, and documentation covering real deployment scenarios save weeks compared to platforms that ship only a raw API. Spree Commerce covers all five: REST API v3, a TypeScript SDK, OpenAPI 3.0 specs, a forkable Next.js storefront starter, and a CLI that scaffolds a full stack in one command.
What makes a headless ecommerce platform developer-friendly?
A developer-friendly headless platform ships more than an API endpoint. Look for a CLI for project scaffolding, a typed SDK for your language, a reference storefront you can fork, and OpenAPI specs that generate clients in any language. Spree Commerce ships all four (a CLI, a TypeScript SDK, a forkable Next.js storefront starter, and OpenAPI 3.0 specs), so teams build product features on day one instead of writing API boilerplate.
What is the difference between REST and GraphQL for ecommerce APIs?
REST APIs return flat JSON responses with predictable endpoints, making them compatible with AI agents, mobile SDKs, and server-to-server integrations without a query language. GraphQL requires a schema and typed queries, adding complexity for teams that need straightforward data access. Spree Commerce uses REST with OpenAPI 3.0, enabling typed client generation in any language without GraphQL tooling.
How do AI shopping agents connect to ecommerce platforms?
AI agents need REST APIs with discoverable endpoints, standardized authentication, and machine-readable product catalogs. Protocols like MCP (Model Context Protocol) and OpenAPI 3.0 give agents context to browse products, manage carts, and complete checkouts without custom integration code. Spree Commerce ships an MCP server, AGENTS.md, and a complete OpenAPI spec designed for agent-driven commerce.
Is open source ecommerce software production-ready for enterprise?
Enterprise-grade open source ecommerce platforms handle multi-currency pricing, cross-border tax compliance, and high-traffic storefronts in production today. Open-source licensing gives teams full code ownership with no platform fees or revenue sharing. Spree Commerce runs production storefronts for brands processing thousands of orders daily across multiple countries.
How do you set up a headless ecommerce platform from a single command?
A complete headless stack needs a backend API, a frontend storefront, and deployment configuration in one repository. Spree Commerce provides a single CLI command that scaffolds the full stack (REST API backend, Next.js storefront, Docker configuration) into one working repository. From there, teams deploy to any cloud provider or on-premise infrastructure, with the customer-facing layer running on TypeScript end to end.