Library Settings Get Help
Stacktora
Stacktora / Vault / E-commerce
E-commerce

E-commerce recipes

15 admin-reviewed E-commerce starting points in the Vault, each installable with one command. Browse every category →

Bun + Postgres + Redis: Freelance/Gig Marketplace with Milestone Payments

Project milestones, escrow-style payment release via Stripe Connect, and dispute state, a worker processing milestone payouts — distinct from the general Marketplace and Escrow recipes: this is specifically freelance-work-shaped, with milestones instead of a single transaction.

by @ops

Bun 1.3 PostgreSQLRedis

Coupon & Promotion Engine

Discount codes, promotion rules (percentage, fixed amount, BOGO), and redemption tracking with Redis guarding against a code being used past its limit under concurrent requests. The part of checkout that's deceptively easy to get wrong at the edges.

by @ops

Node.js 24 PostgreSQLRedis

Digital Asset & License Delivery

Selling downloads or license keys instead of physical goods — secure, expiring download links and license activation state in Postgres, Redis for fast validation on every activation check. Distinct from a physical-goods storefront or a marketplace.

by @ops

Node.js 24 PostgreSQLRedis

Food Order & Delivery Tracking Backend

Order lifecycle from placed through delivered, with Redis for live status that needs to update in near-real-time. Distinct from the Marketplace recipe: this is a linear order-to-delivery pipeline, not multi-vendor listings.

by @ops

Node.js 24 PostgreSQLRedis

Inventory & Order Management

Stock levels, orders, and fulfillment state as first-class Postgres records, with Redis for cart/session speed — the operational backend behind a storefront, not the storefront itself. Distinct from a checkout/payments starter: this is what happens after the payment succeeds.

by @ops

Node.js 24 PostgreSQLRedis

Inventory Reservation & Overselling Prevention

Redis-backed distributed locking around the checkout moment so two customers can't both buy the last unit — distinct from Inventory & Order Management: that tracks stock levels generally, this specifically prevents overselling under real concurrency.

by @ops

Node.js 24 PostgreSQLRedis

Loyalty & Rewards Points Program

Points accrual and redemption as a real ledger of transactions, not a single mutable balance column — distinct from Coupon & Promotion (single-use codes) and Referral (attribution/payouts): this is an ongoing points economy.

by @ops

Node.js 24 PostgreSQLRedis

Node + Postgres + Redis + MinIO + RabbitMQ: Marketplace Starter

A multi-vendor marketplace backend: Node API, Postgres for catalog/inventory/orders, Redis for cart/session caching, MinIO for product image storage, and RabbitMQ for async order and fulfillment processing.

by @ops

Node.js 24 PostgreSQLRedis MinIORabbitMQ

PHP + Postgres + Redis: Influencer Campaign Tracking & Payout

Content/post tracking against campaign terms and performance-based payout tiers via Stripe, a worker processing payout runs — distinct from the Referral Program recipe: that's a simple referred-by-code system, this tracks actual campaign content and negotiated performance terms.

by @ops

PHP 8.3 PostgreSQLRedis

PHP + Postgres + Redis: Print-on-Demand Order Routing Backend

Routes print-on-demand orders to different fulfillment vendors based on product type and location, a worker handling the routing decision and vendor hand-off — distinct from Marketplace and Food Delivery: this is vendor-routing logic specific to print/merch fulfillment.

by @ops

PHP 8.3 PostgreSQLRedis

Referral Program Backend

Referral codes, attribution tracking, and reward payouts as first-class records — distinct from a coupon engine: this tracks who referred whom and what they're owed for it, not just a discount at checkout.

by @ops

Node.js 24 PostgreSQLRedis

Ruby + Postgres + Redis: Gift Registry & Wishlist Backend

Registries, wishlists, and purchase-reservation state (so two people don't buy the same gift) — a real, distinct e-commerce pattern with its own concurrency concern nothing else in the catalog handles.

by @ops

Ruby 3.3 PostgreSQLRedis

Shipping Label & Fulfillment Backend

Order-to-label generation and carrier hand-off, with a worker processing fulfillment asynchronously — distinct from Food Order & Delivery Tracking: that's a live delivery pipeline, this is print-a-label-and-ship.

by @ops

Node.js 24 PostgreSQLRedis

Two-sided Marketplace Backend

Vendors, listings, and buyers as first-class concepts, with Stripe Connect wiring for split payouts. Distinct from a single-storefront e-commerce backend: multi-party accounts and payouts are the actual hard part of a marketplace, not the product listing.

by @ops

Node.js 24 PostgreSQLRedis

Warranty & RMA Management

Return/warranty claim intake, status tracking, and resolution state — the backend behind the part of e-commerce that happens after the sale, when something needs to come back.

by @ops

Node.js 24 PostgreSQLRedis