Client: A grocery store in Pakistan (name withheld) | Timeline: July 2026 | Role: Product docs, architecture, design system and build
A POS that keeps billing offline.
An offline-first desktop POS that replaced calculator-and-paper billing at a grocery store in Pakistan.
The problem:
The store billed customers with a calculator and paper. Checkout was slow, stock ran out without warning, and customer credit was hard to track. Cloud POS wasn't an option, because the internet in the area drops often.
What we built:
Offline by default: Every sale, purchase and stock update saves instantly to a local SQLite database. No internet needed to bill.
Fast checkout: Barcode scanning, cart, item and bill discounts, cash, card and credit payments, returns and thermal receipts.
Stock under control: Products with barcode labels, stock in and out, and low-stock alerts on the dashboard.
Clear customer credit: Dues tracked per customer, with a customer due report.
Reports the owner uses: Daily sales, stock and profit and loss, with Excel export.
License activation: A small cloud service activates the app on the store's device.

Results:
Billing never stops, even when the internet is down
Barcode checkout replaced calculator-and-paper billing
Low-stock alerts warn the owner before items run out
Customer credit is clear and up to date
In daily use at the store
Tech stack: Electron, React, TypeScript, TanStack Query, TanStack Table, React Hook Form, Zod, Zustand, SQLite (better-sqlite3), ExcelJS, Express
0 likes · 0 views · Nov 20, 2026