OpenSourceProjects logo
spree logo

spreeOpen-source headless eCommerce platform with REST API, TypeScript SDK, and Next.js storefront for cross-border, B2B or marketplace eCommerce.

Open-source headless eCommerce platform with REST API, TypeScript SDK, and Next.js storefront for cross-border, B2B or marketplace eCommerce.

15,357 stars
5,244 forks
Ruby
BSD-3-Clause
spree screenshot

spree

Spree is an open-source headless eCommerce platform designed for modern commerce. With a production-grade REST API, TypeScript SDK, and a Next.js storefront, it enables businesses to build cross-border storefronts, B2B wholesale operations, and multi-vendor marketplaces from day one.

Key Features

  • REST API & TypeScript SDK: Production-grade API with flat JSON, publishable keys, rate limiting, and OpenAPI 3.0 specification for type-safe development
  • Next.js Storefront: Open-source storefront with Next.js 16, React 19, Tailwind CSS 4, and built-in Stripe payments, multi-region routing, and SEO
  • Cross-Border Commerce: Markets bundle currency, language, payment methods, and shipping rules per country with EU Omnibus Directive compliance
  • Payment Sessions: Provider-agnostic payment processing supporting Stripe, Adyen, PayPal, and more without storefront code changes
  • Pricing & Promotions: Price Lists for regional and B2B pricing, Customer Groups, Gift Cards, and advanced Promotions Engine
  • Admin Dashboard: Rebuilt admin with Tailwind CSS, Tables DSL, and role-based permissions for flexible management

Use Cases

  • B2B Wholesale: Build wholesale operations with custom pricing, bulk ordering, and customer group management
  • Multi-vendor Marketplaces: Create marketplace platforms where multiple sellers offer products through a unified storefront
  • Cross-border Commerce: Launch localized storefronts across multiple countries with region-specific pricing, currency, and compliance
  • Multi-tenant SaaS: Deploy white-label solutions for multiple independent stores using a single backend

Who Is It For

Spree is ideal for developers, eCommerce teams, and enterprises building modern storefronts. It serves businesses of all sizes—from startups launching their first store to large organizations managing complex B2B and multi-vendor operations—who need flexibility, scalability, and control over their commerce infrastructure.

Trending Open Source Projects