Mobi Dokan — Retail POS & Repair Center ERP

An offline-first desktop POS and business management suite built with Tauri 2, Rust, Next.js, and SQLite for mobile phone retailers and electronics repair centers, featuring IMEI tracking, repair tickets, credit ledgers, and thermal printing.

Project Overview

Mobi Dokan is an offline-first desktop POS and business management suite built specifically for mobile phone retailers, electronics shops, and hardware repair centers.

Engineered with Tauri 2, Rust, Next.js, and SQLite, it delivers lightning-fast performance and seamless daily counter operations with zero internet dependency. Features fast counter billing, IMEI/serial-tracked inventory, repair ticketing with diagnostic logs, khata (credit ledger) customer accounting, ESC/POS thermal receipt printing, and hardware device integrations.

Verified Production Video Walkthrough
Live Demonstration
Mobi Dokan — Retail POS & Repair Center ERP Video Demo Thumbnail

Watch Mobi Dokan — Retail POS & Repair Center ERP in Action

Interactive walkthrough covering real-time workflows, UI responsiveness, and offline states.

My Engineering Role

Lead Software Engineer responsible for Tauri 2 and Rust desktop integration, SQLite encrypted database modeling, ESC/POS thermal printer driver integration, and React counter UI design.

The Challenge

Delivering an ultra-fast desktop counter experience that operates entirely offline on low-resource shop computers while managing complex hardware peripherals (USB barcode scanners, thermal printers) and serial-number inventory.

The Solution

Architected the application using Tauri 2 and Rust for lightweight native OS integration, paired with SQLite for local ACID data persistence, and an optimized React frontend for rapid keyboard-driven billing.

High-Level Architecture

  • Tauri 2 native desktop container providing cross-platform OS bindings with minimal binary size and memory footprint (< 40MB RAM).
  • Rust backend managing direct hardware communications: USB barcode readers, ESC/POS thermal printers, and serial ports.
  • Local SQLite database engine delivering ACID-compliant transactional persistence with zero cloud latency.
  • Next.js and React frontend optimized for keyboard-first cashier shortcuts and instant barcode scanning.
  • Khata ledger module tracking customer debit/credit balances with automated receipt generation.
System Design & Engineering Proof

Offline-First Desktop POS & Embedded Hardware Pipeline

Production Architecture

How Tauri 2, Rust, and local SQLite orchestrate microsecond cashier barcode scanning, serial-number IMEI tracking, and raw ESC/POS thermal printing with zero cloud latency.

End-to-End Architectural Pipeline
1
Presentation Layer

Keyboard-Driven Cashier UI & Barcode Listener

Sub-50ms POS

Rapid counter checkout interface responding to USB/Bluetooth laser barcode scans and keyboard shortcuts in <50ms without UI latency.

Technology:Tauri 2, Next.js, React, Tailwind CSS
2
Hardware Bridge

Rust Native OS Peripherals Driver

Rust Drivers

Low-level Rust backend directly addressing thermal receipt printers (ESC/POS command bytes) and electronic cash drawers over USB and COM ports.

Technology:Rust, Windows Win32 API, SerialPort
3
Database Engine

ACID-Compliant Local SQLite Storage

Zero-Cloud SQLite

Manages granular IMEI/serial number product tables, repair tickets, and customer ledgers with 100% offline persistence and zero cloud lag.

Technology:SQLite, WAL Mode, SQLCipher Encryption
4
Financial Ledger

Khata Double-Entry Bookkeeping Engine

Audit Ledger

Enforces debit/credit financial reconciliation, customer balance statements, and end-of-day cash drawer reconciliation without accounting discrepancies.

Technology:Pure Rust Domain Interactor, PDF Export
Verified Production Benchmarks
< 38 MBMemory FootprintUltra-lean RAM consumption running smoothly on low-spec shop hardware
< 45msBarcode ScanLaser barcode trigger to cart item addition latency
< 850msCold-Start LaunchSub-second desktop launch directly into cashier counter view
100%Offline ResilienceZero cloud dependency for counter billing, inventory, and printing
Founder & Engineering Consultation

Planning a high-throughput mobile application with similar architecture?

Direct engineering leadership from Syed Waleed Nawaz: clean domain architecture, automated CI/CD, and 60 FPS delivery.

Key Features & Workflows

  • Rapid Counter Billing: Barcode and IMEI scanning with keyboard shortcuts for instant customer checkout in under 5 seconds.
  • IMEI & Serial Inventory: Track device models, warranty status, purchase costs, and sale prices on a per-unit serial number basis.
  • Electronics Repair Ticketing: Log incoming repair devices with fault descriptions, estimated costs, assigned technicians, and status stages.
  • Khata (Credit Ledger) Accounting: Maintain customer and vendor credit balances with payment history and balance statement generation.
  • ESC/POS Thermal Printing: Direct USB/Network thermal printing of customized 58mm and 80mm receipts with store branding.
  • Daily Cash Drawer & Profit Analytics: End-of-day cash reconciliation reports showing net revenue, margins, and repair profitability.

Technical Challenges Overcome

  • Communicating directly with raw ESC/POS thermal receipt printers over USB and COM ports without requiring third-party print drivers.
  • Enforcing atomic inventory transactions so concurrent sales and repair parts consumption never produce negative stock balances.
  • Minimizing memory consumption and cold-start times on legacy Windows 7 and 10 POS terminals.

Production Results & Impact

  • Successfully built a lightweight, production-grade desktop POS suite running on Windows and Linux.
  • Eliminated business downtime caused by retail internet outages through 100% local database operations.
  • Sub-second receipt printing and inventory search benchmarked across 20,000+ serial items.

Need a similar architecture shipped?

Let's translate your product workflows, real-time requirements, and cloud infrastructure into a dependable production app.