A billing app with no backend
By Hifsul · 2026-11-16 · 2 min read
Amana Halwa sells Kozhikode halwa to walk-in and wholesale customers. They needed to bill quickly, without paper and without a monthly software subscription. The right answer turned out to be no server at all.
Why no backend
A small shop does not need a database in the cloud to print a bill. The catalogue and the bills are stored in the browser, and every route is static, so there is nothing to keep running, patch or pay for. It deploys to Vercel, or as a Docker standalone build if the shop prefers to host it.
Built for a counter, not a desk
- Tap a product tile to add 1 kg; tap again for more.
- +/- steppers, a kg/g toggle and an editable price per line.
- The product grid and the bill scroll independently, so the total and the charge button stay in view.
- The serial number, price and date fill in automatically.
A bill that looks like the shop
Saving creates a branded A4 PDF in the browser with jsPDF: the shop header, a numbered item table, and the total in figures and in Indian-system words (lakh and crore). Bills stay in a history for re-download.
The small things that make it safe
A salted SHA-256 login lock keeps the till private, JSON backup and restore protects against a cleared browser, and product photos are resized on the device before they are stored. A no-backend app still has to take data loss seriously.