NAZMUL
004 · E-Commerce

EasyShop

Multi-Vendor E-Commerce

Completed
2022
Tech
EasyShop
004
Year

2022

Duration

9 months

Team Size

5 engineers

Role

Tech Lead

High-throughput multi-vendor marketplace with dynamic pricing

Overview

EasyShop is a horizontally scalable multi-vendor marketplace that allows multiple sellers to manage their own storefronts under a single platform. It features dynamic pricing rules, real-time inventory sync, and integrates with Stripe for secure payments.

Key Achievements
Multi-vendor storefront with isolated inventory and order management per seller
Dynamic pricing engine supporting time-based and volume discounts
Stripe Connect integration for automatic vendor payouts
Real-time inventory sync preventing overselling
Technical Challenges
01
Inventory overselling

Concurrent purchases depleted stock below zero during flash sales.

Solution →Used Postgres row-level locking with a decrement-and-check pattern ensuring stock never goes negative.
02
Vendor payout complexity

Splitting payments between platform and multiple vendors per order was error-prone.

Solution →Leveraged Stripe Connect's transfer API with a ledger table tracking every split, making reconciliation straightforward.
metrics.json
50+
Vendors
10K+
Products
500+
Orders/Day
99.9%
Uptime
Technology

Frontend

Next.jsReactTypeScript

Backend

Node.jsExpressTypeScript

Database

PostgreSQL

Payments

Stripe
Development Timeline

Phase 01 · Architecture

Multi-vendor modelDB designPayment flow