Zero Crust POS Simulator
A virtualized dual-head point-of-sale system built with Electron, demonstrating enterprise-grade architecture patterns for high-volume retail environments.
Key Features
Enterprise-grade patterns for quick-service restaurant operations
Dual-Head Display
Separate cashier and customer windows with real-time synchronization, simulating production POS hardware.
Offline-First Architecture
Local data persistence ensures continuous operation during network outages, with sync when connectivity returns.
Integer-Only Currency
All monetary values stored in cents to prevent floating-point errors in financial calculations.
Command Pattern IPC
Type-safe, auditable command system for all state mutations with Zod schema validation.
Payment Simulation
Models async payment flows with retry logic, error handling, and transaction recovery.
Architecture Debugger
Real-time visualization of IPC message flow, state synchronization, and system architecture.
Screenshots
See the dual-head POS system in action
Cashier View
Full-featured order entry with product categories and quick keys
Architecture Debugger
Live visualization of IPC messages and state flow
Transaction History
Complete audit trail of all completed transactions
Customer Display
Real-time order display synchronized with cashier actions
Architecture
Built on proven patterns for secure, maintainable POS systems
Process Model
Design Principles
Security Boundary
All business logic executes in the Main process. Renderers are sandboxed with contextIsolation and nodeIntegration disabled.
Single Source of Truth
MainStore holds all application state. Changes broadcast the entire state to all renderers.
ID-Based Messaging
Renderers send only product SKUs. Main process looks up prices from the catalog, preventing price tampering.
Runtime Validation
All IPC commands validated with Zod schemas before processing.
Tech Stack
Download
Get Zero Crust POS Simulator for your platform
Version 1.1.8