The Principal Dev โ€“ Masterclass for Tech Leads

The Principal Dev โ€“ Masterclass for Tech Leads28-29 May

Join

Spree Commerce open source headless eCommerce platform for B2B, Multi-vendor Marketplace, cross-border eCommerce, multi-tenant eCommerce

Website ยท Next.js Storefront ยท Demo ยท Documentation ยท API ยท Roadmap ยท Discord

Gem Total Downloads codecov License

Open-source headless eCommerce platform with a complete REST API, TypeScript SDK, and a production-ready Next.js storefront. BSD 3-Clause licensed โ€” keep full ownership of your code, data, and infrastructure.

Everything you need to launch cross-border storefronts, B2B wholesale, or a custom commerce backend.

Getting Started

Copy and paste the following command to your terminal to set up Spree in 5 minutes:

npx create-spree-app@latest my-store

This sets up the Spree Commerce backend, the Admin Dashboard, and the Next.js storefront in a single project. The storefront is built with Next.js 16, React 19, Tailwind CSS 4, and TypeScript.

You need to have Node.js (22+) installed and Docker running. Learn more in the installation docs.

Or deploy directly to the cloud:

Deploy to Render

Note This uses Render's free plan for quick evaluation. Free instances spin down after inactivity and may take 30-60s to wake up. For production, see recommended sizing.

Building with an AI coding agent? Install the Spree agent skills โ€” they teach Claude Code, Cursor, Copilot, and 60+ other tools Spree's conventions, customization patterns, and upgrade flows:

npx skills add spree/agent-skills

Then connect the docs MCP server and let your agent build with you. Learn more in the Agentic Development docs.

If you prefer to install Spree manually, you may follow the Quickstart Guide.

If you like what you see, consider giving Spree a GitHub star โญ

Thank you for supporting Spree open-source โค๏ธ

Features

Everything below ships in this repository under the BSD 3-Clause license.

Screenshots

Next.js eCommerce Storefront

A production-ready, open-source storefront built with Next.js 16, React 19, and TypeScript. Fork it, customize it, deploy it. Try the live demo

Spree Commerce - Next.js Storefront - Home Spree Commerce - Next.js Storefront - Product Spree Commerce - Next.js Storefront - Lighthouse

Cross-border eCommerce

Sell in multiple markets with local currencies, languages, payment methods, and shipping rules. Markets bundle per-country configuration so each customer sees a localized storefront from a single platform.

Spree Commerce - Cross-border eCommerce

Wholesale & B2B Pricing

Price Lists, Customer Groups, and gated storefronts. Sell to multiple customer segments with the right assortment and pricing per segment.

Spree Commerce - Wholesale eCommerce Platform

Multi-vendor Marketplace

Launch a multi-vendor marketplace with vendor accounts, product catalog curation, split payments, vendor payouts, and commission management. The Enterprise Edition adds automated vendor onboarding (Shopify, WooCommerce sync) and Stripe Connect / Adyen for Platforms integrations.

Spree Commerce - Multi-vendor Marketplace eCommerce

Community & Contributing

Spree is an open-source project, and we love contributions in any form โ€” pull requests, issues, feature ideas.

Spree Enterprise Edition

Spree is built and maintained by a funded team behind the open-source project. Beyond the open-source Core, we offer a paid Enterprise Edition for organizations that need additional modules and SLA-backed support.

Enterprise Edition is built on top of the same open-source REST API and BSD 3-Clause Core, so your team keeps full ownership of the code, the data, and the infrastructure. Zero platform fees. Zero transaction fees.

What's in Core vs. Enterprise

Capability Open-source (this repo) Enterprise Edition
REST API, TypeScript SDK, Next.js storefront โœ… โœ…
Multi-store, Markets, cross-border, multi-currency โœ… โœ…
Promotions, Gift Cards, Digital Products โœ… โœ…
Payment integrations: Stripe, Adyen, PayPal โœ… โœ…
Automatic tax calculation with Avatax & Stripe Tax โœ… โœ…
B2B & Wholesale โ€” Price Lists, Customer Groups, gated storefronts โœ… โœ…
B2B Buyer organizations (companies, locations, contacts) Coming soon in Spree 6.0 โœ…
B2B Catalogs โ€” curated per-segment product assortments Coming soon in Spree 6.0 โœ…
B2B approval workflows & ERP integrations โ€” role-based approval chains, procurement and ERP connectors โ€” โœ…
Multi-vendor Marketplace โ€” vendor onboarding, vendor panel, commissions, split payments, vendor payouts Coming soon in Spree 6.0 โœ…
Marketplace automations โ€” Shopify/WooCommerce vendor sync, Stripe Connect onboarding, automated commission rules, advanced reporting โ€” โœ…
Multi-tenant SaaS โ€” super-admin layer, tenant provisioning, white-label billing, central operations across hundreds of tenant stores โ€” โœ…
Enterprise security โ€” SSO (SAML/OIDC), encryption at-rest, audit logging, PCI-compliant architecture โ€” โœ…
SLA support โ€” dedicated success manager, guaranteed response times, LTS releases, 24/7 monitoring โ€” โœ…

Contact our Sales team for an Enterprise Edition demo, or join Discord to use the open-source edition with the community.

License

Spree Commerce core code in the spree/spree repository is released under the free, open-source BSD-3-Clause license (LICENSE).

If you like what you see, consider giving Spree a GitHub star โญ

Thank you for supporting Spree open-source โค๏ธ

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.