Front Row Connect
Multi-Brand Commerce Operations Platform
Multi-brand commerce operations control plane covering the path from a sellable product to a reconciled brand statement, with a tenant portal per brand.
stack: Next.js 15 · React 19 · TypeScript · PostgreSQL 16 · Tailwind v4 · Zod · jose JWT · Docker Compose
Built for Front Row's digital division. Client details withheld.
status note: The operating environment is built and test-backed; live marketplace, payment, tax, 3PL and EDI connections are disabled by default until each provider is certified.
01 / Problem
The problem
Multi-brand commerce operations fragment when brand readiness, channel mappings, node inventory, order holds, 3PL fulfillment, and settlement reconciliation live across separate systems.
Running the full path—from a product becoming sellable to a brand receiving a reconciled statement—requires deterministic engines for ATP, routing, order state, pricing, and money, alongside strict tenant scoping for brand portals.
02 / Architecture
The build
- pnpm workspace (web, worker, shared, db) with Next.js 15 App Router, React 19, route groups for console, portal, and auth, server actions, Tailwind v4, Zod, jose JWT sessions, PostgreSQL 16 (16 forward-only migrations), a separate worker for jobs, connectors, and reconciliation, and Docker Compose test and production setups.
- Brand onboarding, readiness, users, roles, and audit history plus an audited read-only admin brand preview; custom identity handling invitation, activation, password reset, and session revocation with RBAC.
- Catalog and inventory lifecycle: product/SKU/UPC, channel mapping, listings, pricing engine, CSV import, inventory by node, available-to-promise (ATP) calculation, purchase orders, fulfillment routing engine, shipments, and returns.
- Order state machine with holds, exceptions, scheduled jobs, retries, and operator recovery, plus money and settlement engines covering invoices, marketplace fees, refunds, chargebacks, settlement statements, and reconciliation.
- ChannelConnector and FulfillmentConnector interfaces supporting manual, CSV, mock, capture, and sandbox modes, idempotency guards with request fingerprinting, sliding-window sync checkpoints with configurable overlap, and provider contracts for Shopify, Amazon, Walmart, Stripe, TaxJar, 3PL (inventory, order, shipment, invoice, and acknowledgment files over API or file transport), and retailer EDI via SPS Commerce (850, 855, 856, 810, 846, 997, 824).
03 / Diagram
System schematic
04 / Scope
Status & scale
Status
Internal platform
Codebase
~59,000 lines of TypeScript
Test suite
53 test files
Database
16 migrations (PG 16)
05 / Stack
Components
- Next.js 15
- React 19
- TypeScript
- PostgreSQL 16
- Tailwind v4
- Zod
- jose JWT
- Docker Compose
06 / Writing
Related writing
- Medusa JS in production: four stores, one Medusa v2 backend and the trade-offsHow four storefronts run one Medusa JS (v2) backend image with isolated databases, a custom Stripe Tax provider and a catalog sync that survives failure.
- Tiered pricing with Rust and WebAssembly Shopify FunctionsHow Shopify Functions run tiered cart pricing as a Rust Cart Transform in WebAssembly, how the runtime limits shape the code, and what breaks in the theme.
- Color families from supplier chaos: AI classification with a review queueHow a color-filter app maps supplier color names to storefront families with text and vision models, and why uncertain answers go to a human.
- Print-ready product customizers on Shopify: canvas, output files and the two-pass fixHow a Shopify customizer turns shopper designs into PNG, PDF and DXF production files, sends them over SFTP, and why selection handles vanish.
- Shopify to Medusa: what a real migration analysis coversWhat a Shopify to Medusa v2 analysis must contain: a feature map, a build ledger, phases, tax, and the risks that decide whether to migrate at all.