All projects

Case study

Borqot

A multi-tenant commerce platform for Bangladeshi online sellers: shop builder, one inbox for every chat, cash-on-delivery orders, courier booking and an AI sales assistant.

Go tests
6,300+
database migrations
358
apps: storefront, tenant, admin, API, site
5
commits, all mine
1,870+
Role
Full stack, end to end
Year
2026
Client
StackRover (my studio)
Stack
GoPostgreSQLTanStack StartReactTailwind CSSshadcn/uiDocker
Borqot screenshot

Overview

Borqot (built under the codename Bebshai) is a platform for online sellers in Bangladesh. It puts the whole business in one workspace:

  • the shop, made with a no-code builder
  • every customer chat, from Messenger, Instagram, WhatsApp and the shop’s own chat
  • cash-on-delivery orders
  • courier booking with Steadfast and Pathao
  • payouts matched to each parcel

Mitthu, an AI assistant, answers customers from the shop’s real catalogue. Every seller gets a free yourshop.borqot.com shop, and the dashboard and shops work in Bangla and English.

We built it at StackRover, which runs Borqot from Dhaka.

The challenge

Most Bangladeshi online sellers run their business across Facebook chats, a spreadsheet, a courier’s website and a notebook of who has paid. That creates very specific problems:

  • Sales happen in chat. A customer asks in Banglish on Messenger whether a panjabi under ৳2,000 comes in L, and that conversation is the order.
  • Cash on delivery is the default. Money arrives later, through the courier, so sellers lose track of which parcel has been paid out.
  • Couriers are manual. Booking Steadfast or Pathao means copying addresses into another site and checking parcel status by hand.
  • Every shop is a tenant. Thousands of businesses share one platform, so each shop’s data has to stay strictly separate, along with its courier, payment and AI keys.

The solution

One workspace, from chat to cash

A chat becomes an order, the order goes to the courier, and the courier’s payout is matched to each parcel, so the seller always knows where the money is. Orders from the shop, chats, phone calls and walk-ins land in one list. Risky orders are flagged, and courier status updates on its own.

Orders overview with COD totals, status and a high-risk flag

From the first message to cash in hand: chat, courier booking and orders

Everything a seller needs

  • One inbox. Messenger, Instagram, WhatsApp and the website chat in one place, with the customer’s delivery record beside the conversation.
  • Courier booking. Book Steadfast or Pathao straight from the order, or hand the parcel to your own rider.
  • Products and stock. Variants, stock across several locations, low-stock alerts, and CSV import from a spreadsheet.
  • Sales and profit. Sales by channel, delivery rate, profit by product, and the districts orders come from.

Feature overview: couriers, inbox, analytics, stock, orders and Mitthu

A shop builder that needs no code

Sellers pick a template, then change sections, colours and products in a visual builder:

  • an announcement bar, header, collections, best sellers, reviews and footer
  • desktop, tablet and phone previews
  • Bangla and English versions
  • light and dark themes
  • drafts saved before publishing

Shops can use their own domain on paid plans.

The shop builder editing a storefront’s sections

Mitthu, an assistant that knows the shop

Mitthu answers customers in Bangla, English or Banglish, the way they write, on every channel. It answers only from the shop’s active catalogue, so it never invents a product or a price, and it can quote delivery charges and place the order. Sellers decide whether Mitthu drafts or replies, and when it hands a chat to a person. It can also build store pages from a sentence or a picture of a layout. Rule-based answers are free. AI answers use the seller’s own key from OpenAI, Anthropic, Google Gemini, DeepSeek, Groq or OpenRouter.

Mitthu answering a Messenger customer and creating an order

Plans in taka

Free, Pro and Enterprise plans are priced in taka, monthly or yearly, with two months free on yearly. The Free plan has no time limit.

Under the hood

Borqot is a monorepo: a Go API on PostgreSQL 18, and TanStack Start apps sharing one shadcn/ui kit with a Tailwind v4 theme.

  • Apps. An operator console for platform staff; a tenant workspace (an installable PWA with web push); the storefront, which serves every shop from its host name; the marketing site; and a public API reference.
  • Two layers of tenant isolation. Every query filters on the tenant, and Postgres row-level security is enabled and forced. The API runs as a database role that cannot bypass it.
  • Sealed secrets. Courier, payment and AI keys are stored sealed per shop.
  • Background work and real time. An outbox worker runs background jobs. A WebSocket/SSE hub fed by Postgres LISTEN/NOTIFY pushes live updates and notifications to the workspace.
  • Server-rendered shops. Storefront pages are drawn on the server, with per-page tracking scopes, consent, and a content security policy per shop. The builder edits a live canvas of the real storefront.
  • Custom domains. Shops connect their own domain with automatic DNS checks and on-demand TLS certificates.
  • Integrations. Courier adapters (Steadfast), Meta and Google connections, ad-event tracking (Meta CAPI, GA4, TikTok), image uploads to R2 storage, and email through Resend.
  • Public API contract. The API reference is generated from an OpenAPI contract, and tests check it against the Go router.
  • Deployment. Docker images build in CI and deploy to our own server, with a database backup before every migration and one-command rollback.

Key features

  • Free shop on a borqot.com subdomain, or your own domain
  • No-code shop builder with templates, sections, themes, and Bangla/English
  • Unified inbox for Messenger, Instagram, WhatsApp and web chat
  • Cash-on-delivery orders from every channel, with risk flags
  • Steadfast and Pathao courier booking, with automatic status updates
  • Payout matching per parcel, and bKash
  • Products, variants, multi-location stock and CSV import
  • Sales, delivery-rate and profit analytics
  • Mitthu, an AI sales assistant grounded in the catalogue, using the seller’s own model keys
  • Meta Pixel, GA4 and TikTok tracking
  • Staff seats, roles and plans priced in taka