Context
Shombhob sells feminine care, beauty, baby and health products across Bangladesh, with same-day delivery in Dhaka and cash on delivery as the default way to pay. I rebuilt it on my own time as an unofficial redesign. It isn't affiliated with the shop, and orders placed on it aren't delivered.
It started as a storefront facelift and grew into the whole business: the catalogue, bag and checkout customers use, and the admin panel that runs the catalogue, merchandising, delivery rules, orders and support behind it.
What I built
Two Next.js apps on one REST API. The storefront covers browsing, search, product pages, the bag, a five-step checkout and a customer account with order history. The admin panel covers the catalogue, homepage merchandising, coupons and gift offers, delivery zones and time slots, and the operations queue: orders, prescriptions, form submissions and live chat.
Most of what the storefront shows is set in the admin. Homepage rails come from collections, the hero carousel from banners, checkout's districts, charges and slots from the delivery settings, and the free-gift progress in the bag from the running promotion.
Live chat
Customers can talk to the shop without leaving the page. A chat button sits on every storefront page and opens a conversation for questions about products, orders or prescriptions, with each message time-stamped and the shop's replies signed as Shombhob.
The widget asks the API only for messages newer than the last one it has, and tells it when they've been read. On the admin side, conversations land in a chat inbox split into open and closed, and the dashboard counts new messages and chats waiting for a reply, so the team sees who's waiting as soon as they sign in.
Accounts & access
Sign-in runs on Better Auth with the session in a Secure, HttpOnly cookie. Customers register, sign in and reset their password on the storefront. Staff sign in to the admin, where each role is granted modules one by one. A Viewer can open what their role allows but every control is read-only, with a banner saying so. Staff and roles stay with the Super admin.
Details that matter
Prices show the saving against MRP everywhere, from the product card to the invoice. Time slots stop taking same-day orders once their window starts. Delivery outside the same-day district asks for an advance payment. Public forms carry a hidden honeypot field to catch spam bots. The dashboard's sales chart can switch to a plain table.
