CASE STUDY

Moxy

Enterprise order operations platform for complex e‑commerce.

Snapshot

  • Industry: E-commerce operations / Logistics / Order management
  • Client: JERSEY d.o.o. (internal product)
  • Deliverable: Full-stack order operations platform with automation, shipping, fiscalization, and AI search
  • Role: Product architecture, backend + frontend engineering, infrastructure design
  • Integration points: WooCommerce/Shopify webhooks, multi‑courier APIs, fiscalization, documents, email/SMS
  • Status: Production-grade internal product

Context

Moxy is built for organizations running complex e‑commerce operations: multiple sales channels, warehouses, couriers, and strict compliance requirements. The platform unifies ingestion, fulfillment, shipping, invoicing, and automation into a single operational system.

Problem

  • Orders arrive from multiple platforms with inconsistent schemas.
  • Fulfillment requires reliable status control, labels, and tracking updates.
  • Compliance documents must be exact and auditable.
  • Manual work creates errors and slows throughput.
  • Search and investigation across large datasets becomes slow and fragmented.

The real issue is the lack of a unified, deterministic operations layer.

Project Goals

  • Centralize all orders with explicit status control.
  • Support multi‑store and multi‑warehouse inventory workflows.
  • Automate shipping labels and tracking across couriers.
  • Provide compliance‑ready invoicing and fiscalization (extensible).
  • Enable event‑driven automation for notifications, documents, and inventory.
  • Deliver natural language search across all operational data.
  • Provide a modern UI optimized for daily high‑volume use.

Constraints & Challenges

  • Normalization across multiple webhook payloads.
  • Strict compliance and document integrity requirements.
  • Courier APIs with varying formats and status models.
  • High performance expectations under operational load.
  • Automation must be powerful, safe, and deterministic.

Solution Overview

Moxy combines a modern async backend, a fast React UI, event-driven automation, native logistics and compliance integrations, and semantic search. The result is a single system that replaces fragmented tools with a consistent, audit‑ready operational core.

Architecture & Technical Approach

Core domain model

  • Explicit models for orders, payments, shipments, customers, products, and documents.
  • Configurable status workflows and lifecycle management.
  • Multi‑address support with validation and caching.

Store ingestion & webhooks

  • Multi‑store support for WooCommerce, Shopify, and custom sources.
  • Secure endpoints with configurable access methods.
  • Flexible transformations for platform-specific payloads.

Shipping & couriers

  • Courier integrations for label generation and tracking sync.
  • Consistent internal mapping across courier status models.
  • Automated polling and event triggers on tracking changes.

Compliance documents

  • Document pipeline for invoices, credit notes, receipts, and delivery docs.
  • Template system for branded PDFs (HTML → PDF).
  • Compliance workflows designed for strict auditability.

Automation macros

  • Event-driven macros for email/SMS, inventory, documents, and webhooks.
  • Declarative rules with conditions and tasks for safe automation.

AI semantic search

  • Natural language search across operational data using embeddings.
  • Vector search in PostgreSQL (pgvector) for fast retrieval.

Technology Stack

  • Backend: Litestar 2 (Python), async SQLAlchemy
  • Database: PostgreSQL + pgvector
  • Frontend: Vite + React + TypeScript, Tailwind, Radix UI
  • Background jobs: SAQ (PostgreSQL‑backed queue)
  • Logging & observability: structlog, Sentry
  • Docs & templates: Jinja2, WeasyPrint

Implementation Process

  1. Designed the domain model around operational workflows and compliance.
  2. Built secure multi‑store ingestion with transformations.
  3. Implemented courier integrations and status mapping.
  4. Developed document generation and compliance workflows.
  5. Added macros for automation at scale.
  6. Implemented semantic search for fast investigation.
  7. Delivered an operations UI optimized for daily use.

Results & Impact

  • Single system replaces fragmented operational tools.
  • Audit‑ready workflows with compliance built in.
  • Faster fulfillment through automated logistics integrations.
  • Reduced manual work via macros and structured workflows.
  • High‑speed investigation via semantic search.

Reflection

Moxy works because it treats operations as a first‑class product: explicit state modeling, deterministic automation, and compliance-ready documents. The platform is designed to scale both technically and operationally.

Summary

Moxy is an enterprise-grade operations platform that unifies multi‑store ingestion, courier logistics, compliance documents, automation, and AI search into a single, reliable system.