SellRight

Open-source commerce backend · pre-1.0

SellRight

Self-hosted commerce for multiple stores, with payments, a REST API & browser admin.

Catalog, carts, checkout, payments and order operations in one PostgreSQL-backed system. Run it on your own server; production storefronts consume its API independently.

Demo admin loginadmin / admin· every visitor gets a private sample store that expires after an hour

From the live demo

Storefront and admin

Screenshots of demo.sellright.cc: the reference storefront and the browser admin running against the same API.

SellRight demo storefront showing the shop grid with four sample products and prices
Reference storefront: shop grid with collections, search and stock filter.
SellRight admin dashboard with orders to fulfill, customers, average order value, revenue and recent orders
Browser admin: dashboard with fulfillment queue, revenue and recent orders.

What is in the box

Built, not promised

Everything below is implemented in the repository today. The full status table, including what is not built yet, is on the features page.

Multi-store

One schema, many stores. Store context is enforced at the database layer with PostgreSQL row-level security.

  • Store switcher in the admin
  • Staff invites, roles and per-action permissions
  • Every admin read and write is store-scoped server-side

Payments

A PaymentProvider interface with Stripe, NMI and Sezzle implemented, plus payment reconciliation and ledgered, provider-aware refunds.

  • Per-store gateway accounts with test/live mode
  • Stripe PaymentIntents and mode-bound webhook settlement
  • Subscriptions through Stripe Billing

REST API + OpenAPI

Versioned REST under /v1, built on Hono and zod. The OpenAPI document at /v1/openapi.json is generated from the route schemas.

  • Typed storefront client generated from the contract
  • Outbound webhooks
  • Static catalog exports for fast storefront browse

Browser admin

A React admin for running the store day to day: dashboard, orders, catalog, inventory, customers, discounts, returns and reports.

  • Draft orders, order editing, partial fulfillment
  • Gift cards, promotions, points and reviews moderation
  • Staff, tax zones, currency rates and settings

Storefront

A reference Qwik storefront over the REST API. No brand is hard-coded: identity, theme and contact details are resolved per host at runtime.

  • Catalog, collections, search and product pages
  • Cart, checkout, customer accounts and order tracking
  • Production storefronts can consume the API independently

Software licensing

Sell apps as well as goods. Paid order lines can issue app licenses with device activation and protected updates.

  • Seat limits and update eligibility
  • Protected update manifests and download artifacts
  • Renewals extend the entitlement

Commerce rules, kept explicit

The whole order lifecycle

Prices are selected on the server, payment-sensitive actions use idempotency, and refunds are ledgered.

Catalog

  • Products, variants and options
  • Smart and manual collections
  • Multi-location inventory with reasoned stock adjustments
  • Vendure importer

Checkout

  • Server-authoritative carts, kept separate from orders
  • Server-selected prices; tax and shipping recalculated at checkout
  • Stock reserved under transaction control
  • Coupons, automatic discounts and gift-card tender

After the sale

  • Refunds with per-line restock
  • Partial fulfillment and split shipments
  • Customer return requests with admin approval
  • Balance payments on edited orders

Customers and growth

  • Accounts, addresses, password reset, Google sign-in
  • Points and rewards
  • Moderated product reviews
  • Affiliates, blog and transactional email

Self-hosted

Your server, your data

The supported production path is a single-VPS Docker Compose appliance: PostgreSQL, the API, the admin and a TLS proxy. The installer checks the host, generates every secret, verifies signed images before pulling, and writes a recovery kit.

curl -fsSL \
  https://raw.githubusercontent.com/Orthic-Labs/sellright/main/deploy/install.sh \
  | sudo sh

Status and license

Honest about where it is

SellRight is pre-1.0. It is suitable for development and evaluation. Production adoption requires gateway acceptance, migration rehearsal, backups and rollback verification.

It is open source under the Apache License 2.0. The license text is authoritative.

SellRight is made by Orthic Labs.