Headless Commerce
Spree is a modular, API-first headless ecommerce platform which consists of several APIs.

Spree architecture
Spree is a modular, API-first headless e-commerce platform that consists of several APIs.
- Modern and lightweight REST API based on JSON API schema
- Designed for building Storefronts and mobile apps

- OAuth 2.0 authentication
- designed for building application to application integration
- permission sets based access to resources
- access any resource on the Spree platform and perform any action
Spree allows limitless storefront customization.
You can build your own storefront from scratch using our SDK which takes care of all heavy lifting tasks, or you can use Next.js Commerce or Vue Storefront.
Spree is divided into several modules / ruby gems which you can install independently.
Spree module | Description |
spree | Data models, Services and APIs |
spree_backend | Admin Panel UI |
spree_sample | Sample seed data |
spree_emails | Transactional emails, eg. order confirmation |
To change which Spree gems you would like to install you will need to modify your project
Gemfile
.gem 'spree'
gem 'spree'
gem 'spree_backend'
After changing the
Gemfile
you need to runbundle install
bundle install
docker-compose build