System Overview
bsr-pos-plus is a monorepo for multiple POS surfaces that share domain logic and utilities.
Monorepo layout
apps/mobile: current React Native mobile POS applicationapps/pos-terminal: terminal-oriented React Native app for large-screen and secondary-display scenariospackages/api: shared API client and endpoint helperspackages/domain: shared business rules and orchestration logicpackages/types: shared TypeScript modelspackages/utils: shared utility functions
Design intent
- Keep
apps/mobileworking first because it is the active production-facing POS surface. - Let
apps/pos-terminalevolve toward large-screen Android terminal use cases without forcing premature abstraction. - Move logic to
packages/*only when both apps agree on the data contract and usage pattern.
Main runtime surfaces
- Operator-facing mobile UI
- Operator-facing terminal UI
- Customer-facing terminal display on supported Android hardware
- Shared services such as API access, Firebase, and device integrations