TrackStock
“Inventory and branch operations, connected from daily counts to delivery receipts.”
Coordinating stock across HQ and branches means keeping daily counts, requests, dispatches, and delivery receipts in context. Missing quantities, repeat submissions, and corrected counts need to remain distinguishable so staff can review the record.
I designed and built TrackStock around the handoff between HQ and branch staff: role-aware access, daily stock counts, supply requests, dispatch tracking, delivery receipts, and reviewable corrections. The system preserves the difference between an unknown quantity and an explicit zero, and handles repeated submissions without posting the same action twice.
Event Pipeline & Data Flow
Next.js / React interface → authenticated server routes → Supabase PostgreSQL commands → inventory and audit records → HQ and branch views.Branch staff check in, record stock counts, and request supplies through their assigned workspace.
Server and database checks enforce access, expected revisions, and consistent handling of retried submissions.
HQ reviews requests and dispatches; branch receipts keep delivery and discrepancy states separate.
Inventory views retain observation context and correction history for HQ and branch review.