Skip to content
All case studies
ProductSaaS / Social commerce

Chatcart

Order management for shops that sell on WhatsApp and Instagram

In short: Chatcart is an in-house DanixSoft product (SaaS / Social commerce): Order management for shops that sell on WhatsApp and Instagram. Daniyal Alam built it — product decisions, architecture and code. Live at chatcart.danixsoft.com.

A phone-first order book for sellers who take orders over WhatsApp, Instagram and Facebook: a pasted customer chat becomes an order, each parcel is tracked from confirmed to delivered, and cash-on-delivery payouts from couriers are reconciled against the orders they settle.

Chatcart social card: “Every WhatsApp & Instagram order. One calm order book.” with the order stages New, Confirmed, Packed, Booked and Delivered.
Industry
SaaS / Social commerce
Scope
Products we build and run in-house at DanixSoft
Core stack
Next.js 16 · React 19 · TypeScript · Supabase
Year
2026

The problem

Sellers who sell through DMs keep orders in chat threads, notebooks and spreadsheets, so orders get missed, returning customers aren't recognised, and nobody knows how much cash on delivery the courier still owes.

The solution

A rule-based parser pulls the name, Pakistani mobile number, city, address and items out of a pasted chat for the seller to confirm. Orders move through a fixed pipeline with bulk changes and undo, customers are recognised by phone number, and each courier payout is recorded against the exact delivered orders it covers.

My role

I built it: the commit history of its repository is mine — product decisions, architecture and code.

DanixSoft team

An in-house DanixSoft product — built and operated by the studio, not for a client.

Technical challenges

The engineering problems this build had to get right.

  • Order creation and payout recording in single database transactions
  • An append-only order event trail written by triggers
  • CSV export guarded against spreadsheet formula injection

Architecture

Frontend
Next.js 16 (App Router, Server Actions), React 19, TypeScript, Tailwind CSS v4
Backend
Security-definer Postgres functions for order creation and payouts
Database
Supabase Postgres with row-level security and Auth
Infrastructure
Vercel; Vitest and a row-level security check script

Implementation — what shipped

Smart paste: customer chat to order, including WhatsApp chat exports
Order pipeline from new to delivered, plus returned and cancelled, with bulk moves and undo
Cash-on-delivery payout reconciliation per courier
Customer history by phone number, with a flag for frequent returns
Packing slips two to an A4 page and a CSV export for courier bulk booking

Engineering notes

Lesson for similar SaaS builds: design for order creation and payout recording in single database transactions and an append-only order event trail written by triggers up front — these are the parts that are expensive to retrofit once the feature list grows.

Technologies

  • Next.js 16
  • React 19
  • TypeScript
  • Supabase
  • PostgreSQL
  • Tailwind
  • Vitest

Need something like this? Tell me about it.

A 30-minute discovery call is enough to scope the approach and a realistic budget.