Feed-point sales with costs the staff cannot see
Owners see cost and profit; hired sellers see only what they need to sell. Both work offline.
- roles with separated visibility
- 2 roles with separated visibility
- of the day works offline
- 100% of the day works offline
The problem
A feed seller with several points needed stock, cost and debt tracking — but hired sellers must not see purchase costs or profit, and the points have unreliable internet.
What we did
- 01
Split the app by role at the token level: sellers get masked costs, read-only stock and no reports — enforced by the API, not the UI.
- 02
Computed true weighted-average cost per product across arrivals, so profit is real, not estimated.
- 03
Synced offline work with last-write-wins per record, so a day without internet reconciles cleanly in the evening.
Where it landed
The owner sees profit per point and per product; sellers sell without seeing margins. Cash and credit sales, debts and stock stay correct through offline days.
Built with
- React Native
- Expo
- SQLite
- NestJS
- PostgreSQL
Tell us what is not working.
A short description of the problem is enough to start. We reply within one working day, and the first conversation is free.