Commerce for
Perfectionists.
A lightweight, high-performance headless ecommerce platform built entirely in Rust. Zero-cost abstractions, predictable resource usage, and a single binary deployment.
Philosophy
The Modern Commerce Stack
We rebuilt the ecommerce engine from first principles. Focusing on what matters: raw performance, type safety, and developer experience.
Zero-Cost Abstractions
Built on Rust's ownership model. No garbage collection pauses means consistent, predictable latency for your checkout flow, even during Black Friday spikes.
Type Safe
Compile-time guarantees catch bugs before they reach production. Fearless concurrency handled by the compiler.
PostgreSQL Native
Optimized exclusively for PostgreSQL 15+. Leveraging robust ACID compliance, JSONB, and advanced indexing for maximum performance and scale.
Truly Headless
Unopinionated frontend. Official SDKs for JavaScript, Python, PHP, and Rust. Connect Next.js, Vue, iOS, Android, or POS.
Seamless Migration
Drop-in compatibility layer for WooCommerce and Medusa.js APIs. Migrate your backend incrementally without rewriting your existing frontend or integrations.
Cross-Platform
Tier-1 support for Linux, macOS, and FreeBSD. Deploys as a single ~20MB binary or Alpine-based container.
Architecture
Built for Scale
A decoupled, layered architecture ensures clear separation of concerns. Isolate core business rules from external interfaces and data storage.
Developer Experience
Speak your language.
We meet you where you are. Use the industry standard REST API, the flexible GraphQL endpoint, or go native with the Rust SDK.
use rcommerce::Client;
let client = Client::new("sk_live_xxx");
// Type-safe order creation with Rust structs
let order = client.orders().create(&CreateOrder {
customer_id: "cus_123".to_string(),
line_items: vec![LineItem {
product_id: "prod_456".to_string(),
quantity: 2,
..Default::default()
}],
..Default::default()
}).await?;
host = "0.0.0.0"
port = 8080
type = "postgres"
pool_size = 50
default_gateway = "stripe"
auto_capture = true
enabled = true
request_currency = true
graphql_api = true
webhooks = true
Configuration
Configuration as Code.
Stop wrestling with database tables for system settings. R commerce is configured via a single TOML file or our rcommerce cli tool.
-
GitOps ready
-
CLI tool management
-
Hot-reload supported