The retailer's old system could not handle 100,000+ parts across branches. Sales stalled when the internet dropped. We built a POS that is fast, works offline, and keeps stock and money in sync.

Problem Space
Stock on the screen never matched stock on the shelf. Money was tracked by hand. Sales stopped when the internet dropped.
Data Inconsistency: Stock levels on the system rarely matched physical inventory
Disconnected Money Management: Cash flow tracking was separate from sales, causing reconciliation nightmares
Legacy system crashed during peak hours (500+ daily transactions)
No offline mode – internet outages halted all sales
Lack of detailed analytics for high-velocity items
Process
I worked beside the sales team and watched their day. That showed what to fix first: keep stock honest and track money automatically.
Implemented strict ACID transactions for all inventory and money movements
Built a double-entry ledger system directly into the sales flow for automated accounting
Selected PostgreSQL with custom indexing strategies for instant SKU lookups
Designed a keyboard-first UI to allow mouse-free operation for power users
Delivered System
One system for stock and money. It keeps both honest, even when the connection drops.
Automated cash drawer tracking and digital payment reconciliation in real-time.
Strict validation layers ensure inventory numbers always match reality.
Continue selling even when the internet dies. transactions sync automatically when connection is restored.
Fuzzy search algorithm returns results from 100k+ items in under 50ms.
Interactive dashboards for tracking top-moving parts and daily revenue trends.
Technical Stack
Hybrid Cloud/Edge architecture. The frontend runs as a PWA for offline capability, interacting with a local database that syncs to the central PostgreSQL cluster via a combat-tested queue system.
Measured Impact
Early rollout is already faster than the old system. Counter staff keep up with the morning rush.
<50ms
Search Latency
100%
Offline Uptime
3x
Faster Checkout
Zero
Sync Conflicts
The speed difference is night and day. Our counter staff can finally keep up with the morning rush without the system freezing on them.
Retrospective
Optimizing for offline-first requires a completely different mental model for data consistency
Spare parts data is incredibly messy—strict validation at the ingest layer is non-negotiable
Keyboard shortcuts are the single biggest booster of user productivity in POS systems