Architecture

Overview

How the CommerceJS packages fit together — the orchestrator pattern, three-tier domains, composition, and design principles.

CommerceJS is organized as a layered architecture where each package has a single responsibility. The packages compose together through well-defined interfaces.

System Architecture

System Architecture

Package Layer Diagram

Application Layer
Storefront UI
Framework Module
Commerce Engine
Unified Data Model
Orchestration
Checkout Engine
Integration Layer
Platform Adapters
Payment Providers
Webhook Security
Stripe
SendGrid
Algolia
ShipStation
Application
Engine
Integration
External
Documentation Asset // COMMERCE_JS_ARCH_01