Case Study: CloudyBD Backend Architecture, Inventory & Payment Operations
01 / Challenge
The Problem A fashion and lifestyle e-commerce storefront like CloudyBD (covering heels, bags, party clutches, PJ sets, flats & sandals, and seasonal clearance collections) needs a reliable backend that handles multi-variant stock, batch/lot tracking, and unit-level item condition down to individual product quantities. At the same time, it must coordinate multi-courier fulfillment alongside local digital payments, card gateways, and QR checkout flows.
02 / Engineering
The Solution Built the backend using TypeScript, Express, and Mongoose with MongoDB to model flexible product catalogs, stock lots, unit-level barcodes, orders, payments, and shipping workflows.
Key engineering highlights include:
- Variant Stock & Lot Tracking: Structured inventory around product variants and stock lots to track batches, availability, and replenishment cleanly across collections.
- Quantity-Based Unit Barcodes: Generated and tracked quantity-based barcodes per individual unit so the condition and status of a specific physical item can be identified and traced.
- Multi-Courier Integration: Integrated three courier providers to streamline order dispatch, shipment tracking, and delivery operations.
- Local & Gateway Payment Flows: Implemented payment integrations supporting bKash, Nagad, SSLCommerz, and Bangla QR for smooth checkout across local payment methods.
03 / Outcome
What It Enables The backend supports end-to-end fashion commerce operations—from catalog discovery and stock-lot management to unit-level condition tracking via barcodes, three-courier dispatch, and flexible payments across bKash, Nagad, SSLCommerz, and Bangla QR.
Explore the Product
See CloudyBD in Action
Explore the storefront and catalog experience.
Technology
Tools & Systems
- TypeScript, Express, Mongoose & MongoDB (Backend & Database)
- Variant Stock Lots & Quantity-Based Unit Barcodes (Inventory & Item-Level Tracking)
- 3 Courier Integrations (Fulfillment & Logistics)
- bKash, Nagad, SSLCommerz & Bangla QR (Payments)
