Store POS
salon-pos-main
An offline-first Flutter runtime for salon operations. The Primary device owns the complete store database and exposes a secure Shelf API; Secondary devices remain lightweight, and cloud synchronization happens through durable local queues.
67Drift SQLite tables
47Cloud-synced table registry
30sCloud sync scheduler
3Primary, Secondary, Emergency roles
System Map
Ownership invariant: the Primary is the only full-database owner. Role switching changes the repository base URL, not domain logic.
Read By Goal
Run itQuickstartToolchain, build modes, device roles, and project layout.
Understand itArchitectureBootstrap, role switching, LAN security, Shelf API, and repositories.
Use itFeaturesService operations, customers, staff, commerce, and business control.
Model itData ModelsSchema groups, outbox, coalescing, LWW, restore, and notifications.
Operate itOperationsBuild configuration, upload, restore, booking sync, roster, and heartbeat.
Verify itTestingWidget harnesses, handlers, network mocks, and repository patterns.
Open the detailed generated subsystem image
