Architecture: Product Catalog — Admin to Mobile Flow
By Engineering Team•September 25, 2026•7 min read
This is the architecture behind the decision recorded in ADR-00005, satisfying the requirements in BRD-004 and SR-004.
Diagram

The diagram predates the Stock & Threshold (Opening Entry) wizard step being added — that step’s REST call target and data flow are identical in shape to the other inventory-service-owned steps shown (Variant Builder, Compliance & Pricing, Package Map), just not yet redrawn into this image.
Components
| Component | Language / Runtime | Role |
|---|---|---|
ui-admin-application (Admin — React) |
React (MUI + Zustand) | Renders the nine-step product wizard; three steps (Product Info, Specifications & Tags, Review & Publish) call product-catalog directly, five steps (Variant Builder, Stock & Threshold, Volumetric Specs, Compliance & Pricing, Package Map) call inventory-service directly, and the Images step goes through media-access-service. |
product-catalog |
Go | Owns product draft/descriptive data (MongoDB), holds the per-step sync markers used by the publish-readiness gate (FR-08), and is the read source shop-service joins against. |
inventory-service |
Go | Owns every SKU-transactional concern (variants, stock thresholds, dimensions, compliance/pricing, package mapping) in PostgreSQL, and publishes one Pub/Sub completion event per step (FR-10). |
media-access-service |
Rust | Issues the presigned upload URL for product images into the Firebase Staging Bucket, per the same pattern documented in Architecture: Image Processing Pipeline. |
firebase-function / content-processor |
Node.js / Go | Same image pipeline as ADR-00001 — transcodes the uploaded product image and publishes a processed-image event that product-catalog consumes. |
| Pub/Sub — step-completion events | GCP Pub/Sub | inventory-service → product-catalog. Five independent, best-effort topics/subscriptions, one per wizard step owned by inventory-service (FR-10). |
shop-service |
— | Joins product-catalog (gRPC) and inventory-service (gRPC) data at request time to assemble curated storefront sections, exposed to the mobile app over GraphQL. See Architecture-00005 for the full storefront-configuration flow. |
ui-application (Mobile — Flutter) |
Flutter | Renders storefront sections and the product detail screen from shop-service’s GraphQL API (FR-12). |
End-to-end flow
- A catalog team member starts a new product in the admin wizard. Steps 1 (Product Info), 3 (Specifications & Tags), and 9 (Review & Publish) call
product-catalogdirectly over REST, writing/reading the product’s own draft document (FR-02). - Step 2 (Images) uploads through
media-access-service’s presigned URL into the Firebase Staging Bucket;firebase-functionandcontent-processortranscode it exactly as in the image pipeline, andproduct-catalogconsumes the resulting processed-image event to attach the derived image references to the product draft. - Steps 4, 5, 6, 7, and 8 (Variant Builder, Stock & Threshold, Volumetric Specs, Compliance & Pricing, Package Map) each call
inventory-servicedirectly over REST, writing SKU-transactional data into its own PostgreSQL store (FR-03 through FR-07). - On each of those five steps’ successful save,
inventory-servicepublishes its own completion event (variant-builder-upserted,opening-entry-upserted,sku-dimension-upserted,sku-compliance-pricing-upserted,sku-box-mapping-upserted) — independently, best-effort, one topic per step (FR-10). product-catalogsubscribes to all five events and updates the corresponding sync marker on the product document as each one arrives — this is the only channel through whichproduct-cataloglearns that aninventory-service-owned step is complete (FR-10, FR-11).- When the operator reaches Step 9 and requests publish,
product-catalog’sPublishreads only its own locally-held sync markers — variant, dimensions, compliance/pricing, package map, and opening entry — and rejects the request if any required marker isn’t complete (FR-08). No synchronous call toinventory-servicehappens at this point (see ADR-00005). - When a shopper opens the mobile app,
shop-serviceassembles each curated storefront section by joiningproduct-catalog(descriptive data, gRPC) withinventory-service(live price/availability, gRPC) at request time, and serves the result toui-applicationover GraphQL. See Architecture-00005 for the full section-assembly flow. - Tapping into a product opens
ui-application’s product detail screen, sourced from the sameshop-service/product-catalogread path, showing current price, stock, images, and specifications (FR-12). - A shopper has no general “browse all products” entry point today — every product is reached via a curated storefront section (FR-13, gap).
Related Documents
- BRD-004 — Product Catalog: Admin Creation to Mobile Presentation
- SR-004 — Product Catalog: Admin to Mobile System Requirements
- ADR-00005 — Event-Driven Catalog Synchronization
- Technical Debt — Product Catalog Admin-to-Mobile Gaps
- Microservices: product-catalog, inventory-service, shop-service
- Admin UI Walkthrough: 07-ui-admin