
The project
& the challenge.
Ophelia Go is a high-performance multi-vendor marketplace where dozens of sellers manage inventory, orders, and payouts from a single dashboard while shoppers get a fast, unified buying experience.
The existing operations relied on manual spreadsheets to reconcile inventory across vendors, leading to overselling, slow checkout, and a fragmented seller dashboard. The team needed a single platform that could keep stock synced in real time, support hundreds of concurrent vendors, and stay snappy as the catalog scaled.
How I built it.
Step-by-step decisions and trade-offs that shaped the final shipped product.
- 01
Architected the storefront with Next.js (App Router) for server-side rendering, fast initial loads, and SEO-friendly product pages.
- 02
Built the backend on Nest.js with a modular service-per-domain structure (orders, vendors, inventory, payments) so each module could evolve independently.
- 03
Designed a normalized PostgreSQL schema with row-level locking on stock mutations to prevent overselling under concurrent purchases.
- 04
Implemented a real-time inventory sync layer using Postgres LISTEN/NOTIFY and Server-Sent Events to push stock updates to seller dashboards instantly.
- 05
Integrated four major payment gateways — SSLCommerz, AamarPay, bKash, and PayStation — behind a unified payment abstraction so checkout works for every customer regardless of their preferred method.
- 06
Wired up Steadfast Courier API for automated order dispatch, label generation, and live delivery tracking — eliminating manual courier coordination.
- 07
Streamlined the checkout flow into a 2-step process with optimistic UI, reducing drop-off and admin intervention.
What it does.
Multi-vendor dashboard
Each seller gets a self-serve dashboard for products, orders, and payout tracking.
Real-time inventory
Stock counts sync across all storefronts and seller views the moment a sale closes.
Multi-gateway payments
SSLCommerz, AamarPay, bKash, and PayStation — customers pay however they want.
Steadfast courier sync
Auto-dispatch orders, generate labels, and track deliveries live from the dashboard.
Dynamic catalog
Faceted search, category filters, and instant-update product cards.
Streamlined checkout
Two-step checkout with auto-saved cart and optimistic UI.
Admin operations console
Centralized view for moderators to handle disputes, refunds, and vendor onboarding.
Scalable image pipeline
Optimized image delivery with on-the-fly resizing and lazy loading.

