Skip to content / মূল অংশে যান
Building2024

POS / Inventory

Offline-first business management software

Offline-first PWA
Authentication
Inventory tracking
Receipt printing

The Challenge

Small Bengali retailers (like family shops) need inventory and billing software that works without a reliable internet connection. Cloud-only solutions fail during outages; desktop software is expensive and hard to maintain.

The Solution

A PWA with IndexedDB for local-first storage. Sales, inventory, and products are stored locally and sync when connectivity is restored. Receipt printing uses the browser print API — no external dependencies.

System Architecture & Data Flow

FRONTENDReact / Next.js
LOGICTypeScript
STORAGESQLite / Supabase
DEPLOYMENTVercel / Cloud
Tech Stack:ReactTypeScriptSQLiteVite

Key Takeaways & Engineering Insights

The original design used Prisma + SQLite which broke on Vercel (read-only filesystem). Learned that serverless platforms require either an external database or a client-side storage solution. Migrated to IndexedDB + Service Worker — which actually improved the offline experience significantly.

    POS / Inventory — কেস স্টাডি | Joysriram Sarkar