Skip to content
James Ross
Agency · Front RowInternal platform

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

SURFACE 01 · RBACOperator Console & PreviewSURFACE 02 · TENANT-SCOPEDBrand Portal01 / CHANNELS (CONTRACTS)Shopify · Amazon · WalmartRetailer EDI (SPS Commerce)850/855/856/810/846/997/824Manual, CSV, mock, sandbox02 / CONTROL PLANEFront Row ConnectCatalog · ATP · Pricing · RoutingOrder State Machine · SettlementIdempotency + sliding checkpointsNext.js 15 · Worker · PG 16 · jose JWT03 / 3PL / WMSFulfillment & WarehouseInventory · Orders · ShipmentsInvoices & acknowledgmentsAPI / file · disabled by default
Front Row Connect schematic: operator console and tenant-scoped brand portal above the control plane (catalog, ATP, routing, order state, settlement), with channel/EDI and 3PL/WMS connector contracts.

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