Skip to content
zohrix

Offline-first point of sale and inventory app for desktop

A Windows and macOS app for small shops that keeps selling and counting stock when the internet drops.

Concept projectE-commerce & retail

Concept projects are detailed approaches to typical briefs. They are not client deliveries.

Overview

A Windows and macOS point-of-sale and inventory app for small shops that keeps selling when the internet drops, and brings every branch's stock together when it reconnects.

The challenge

Small shops often run cloud tills that stop when the connection drops, or old desktop software with no shared view of stock. Owners reconcile stock between branches by phone and spreadsheet, and end-of-day totals rarely match.

Our approach

The steps in the order we would take them.

  1. Watch checkout, receiving and stock counts in a working shop.

  2. Design a checkout screen for keyboard, barcode scanner and touch.

  3. Build on a local database so sales and stock changes never wait on the network.

  4. Sync each till with a central service, with clear rules for conflicting changes.

  5. Pilot in one branch before rolling out.

What the solution includes

  • A desktop point-of-sale app for Windows and macOS
  • Inventory, receiving and branch transfer screens
  • A sync service and owner dashboard
  • Receipt printer, scanner and cash drawer support
  • An installer, automatic updates and a user guide

Technical implementation

How we would build it, in the order information moves through the system. Final choices depend on the tools a client already uses.

An Electron and React app stores products, sales and stock movements in SQLite on each till. Changes are recorded as an append-only log and synced to a Node.js API and PostgreSQL database when a connection is available.

  1. Desktop app

    An Electron shell with a React interface, packaged for Windows and macOS and updated automatically.

  2. Local store

    SQLite on each till holds products, prices, sales and stock movements, so the app never waits on the network.

  3. Sync

    Each till records changes as an append-only log and sends them to the central service when a connection is available. Stock is recalculated from movements, never overwritten.

  4. Central service

    An API and PostgreSQL database combine branches, hold the product catalog and power the owner's dashboard.

  5. Hardware

    Receipt printers, barcode scanners and cash drawers connect through the operating system and standard ESC/POS commands.

Proposed technologies

Plain tool names, not partnerships. Where a client already uses something that does the job, we use that instead.

  • Electron
  • React
  • TypeScript
  • SQLite
  • Node.js
  • PostgreSQL
  • ESC/POS
  • Code signing for Windows and macOS

Important decisions

The trade-offs that shape the rest of the design, and why.

  • Stock is recalculated from movements, never overwritten. This avoids sync conflicts between tills.

  • A single-branch pilot first, because hardware and habits vary from shop to shop.

Outcome

This is a concept project. It hasn't been delivered for a client, so there are no results to report. It shows how we would approach this kind of brief.

Facing a similar problem?

Tell us about the problem you're solving. We'll reply with questions, a suggested approach and a clear next step.