Marketplace · 2024 · Shipped
Multi Vendor Ecommerce Platform
role
Full stack engineer

A marketplace platform with three distinct surfaces — buyer storefront, vendor dashboard and platform admin — sharing one catalog, cart and order pipeline.
the problem
Multi-vendor commerce breaks on split orders: one cart, several sellers, separate fulfilment, separate money. Most single-tenant shop code cannot express that.
what I built
Orders modelled as a parent record with per-vendor sub-orders, each with its own state machine, fulfilment timeline and payout calculation.
architecture
React storefront with faceted search, cart persistence and guest checkout Node.js and Express API with vendor-scoped authorization on every route MongoDB aggregation pipelines for catalog facets and vendor analytics Parent order with per-vendor sub-orders, each running its own state machine Commission and payout ledger computed from settled sub-orders
Engineering highlights
01
Split orders done properly
One checkout fans out into vendor sub-orders so fulfilment, refunds and payouts stay independent and auditable.
02
Authorization by default
Vendor scope is enforced in a shared middleware layer instead of being re-checked, and eventually forgotten, per route.
03
Search that stays fast
Facets and listings are served from tuned aggregation pipelines with indexed filters instead of ad-hoc queries.