Locale: Multi-Vendor Marketplace
A two-sided marketplace with vendor onboarding, split payments, and Shopee sync that launched 120 sellers in month one.
- Year
- 2023
- Timeline
- 16 weeks
- Category
- Marketplace Platform
- 120
- Vendors onboarded in month 1
- 4.8★
- Average buyer rating
- 0
- Payout reconciliation errors
The Problem
A retail group wanted a marketplace for local sellers but couldn't onboard vendors, split payments, or sync with the Shopee storefronts sellers already ran. Off-the-shelf platforms couldn't handle split payouts and sync.
The Solution
Locale: a multi-vendor marketplace with self-serve onboarding, per-order commission and split payouts, and two-way Shopee sync. Buyers get a unified catalog, cart, and checkout across vendors.
My Role
Lead full-stack engineer. Architected the marketplace and payments model, built the Next.js storefront and NestJS backend, and built the Shopee integration with retries.
Tech Stack
- Next.js
- NestJS
- PostgreSQL
- Prisma ORM
- Redis
- Shopee API
- Stripe Connect
- AWS
- Docker
How it fits together.
The high-level architecture: services, data stores, and the external systems they talk to.
Approach
Marketplaces live or die on money correctness. I modeled every order as per-vendor line items, each with its own commission and payout, so Stripe Connect routed funds precisely and reconciliation was deterministic, which kept payout errors at zero. The Shopee sync is queue-driven and idempotent, so jobs retry safely.
Highlights
- Self-serve vendor onboarding with KYC and Stripe Connect linking.
- Idempotent, retry-safe two-way Shopee sync.
- Unified cart and checkout across multiple vendors in one transaction.
Screens