Buynux
Multi-vendor marketplace running in production
A bilingual storefront, vendor dashboards and an admin back office in one marketplace, running in production on its own domain.

What is Buynux?
Buynux is a multi-vendor marketplace built by The Cubas with a bilingual storefront, vendor dashboards and an admin back office. Its 27 API modules cover payouts, coupons, loyalty, refunds, staff roles and an audit trail, with a transactional outbox and idempotency keys protecting order writes from duplicate requests.
The interesting part
What Was Actually Hard
Every project looks straightforward in a case study. These are the problems that decided how it was built.
Order writes that survive a double click
Payment flows get retried. Networks drop. Users press the button twice. A transactional outbox combined with idempotency keys means a repeated request resolves to the same order rather than a second one, and an interleave test covers concurrent order writes specifically.
Background work with a retry budget
BullMQ workers process the queue with bounded retry budgets rather than unlimited retries. A job that cannot succeed stops and surfaces instead of quietly hammering a downstream service until someone notices the bill.
Twenty seven API modules that stay comprehensible
Vendor payouts, coupons, loyalty, refunds, staff roles and an audit trail each live as their own module with typed boundaries, so adding a feature does not mean reading the whole system first.
Two deployment targets, one gate
Green continuous integration gates both deployments, sending the storefront to Vercel and the API to a DigitalOcean droplet. Nothing reaches either target without passing the same checks.
What it does
Shipped Feature Set
- Bilingual storefront with locale aware routing
- Vendor dashboards with payout and order management
- Admin back office with staff roles and audit trail
- Coupons, loyalty and refund handling
- Transactional outbox and idempotency keys on order writes
- BullMQ background workers with bounded retries

Built by
Ashraful Islam Hridoy, Lead Engineer
Ashraful builds the systems behind The Cubas engineering work, from typed REST APIs and data models to the React interfaces on top of them. His focus is the part most builds skip: secure access, reliable background jobs, and what happens to a system after launch.
Read the backgroundServices this demonstrates


