Skip to content

Introduction

Fastcart is a lightweight, self-hosted, multi-store commerce platform built with Rust and React.

Updated

Fastcart is a lightweight, self-hosted, multi-store commerce platform built with Rust and React. It pairs a single Rust modular monolith with one SQLite database per store, an operational React admin, and a process-isolated universal SSR runtime.

What you can do

  • Run your own commerce stack. One binary, SQLite storage, and no mandatory Docker, Redis, PostgreSQL, or message broker.
  • Operate multiple stores. Every store owns an isolated database and is resolved from the request Host header on storefront routes.
  • Extend the platform. Commerce modules are independent crates, and capabilities are exposed through provider interfaces, plugins, workflows, and an auditable AI tool registry.

Get started

  1. Build the workspace

    cargo build --workspace
  2. Initialize the platform

    cargo run -p fastcart-cli -- init --dir .
  3. Create an owner account

    cargo run -p fastcart-cli -- user create \
      --email owner@example.com --password 'change-me-please'
  4. Create a store

    cargo run -p fastcart-cli -- store create \
      --name "Demo Store" --slug demo --domain shop.example.com \
      --owner-email owner@example.com
  5. Serve the API

    cargo run -p fastcart-cli -- serve

The API listens on http://localhost:8080 by default. In another terminal, run the admin with pnpm dev:admin and open http://localhost:5174.

Explore the platform

Type to search…

↑↓ navigate↵ selectEsc close