Platform
Authentication, users, branches, the audit log, the sync protocol, and image uploads.
This section covers the shared platform every feature builds on: who you are, where you work, what changed, and how offline clients stay in sync.
Authentication and users
Login, the JWT shape, role checks, and user management.
Branches
Creating branches and how scoping keeps data in its branch.
Audit log
The append-only audit trail and how to query it.
Sync protocol
Device registration, push replay, pull filtering, and snapshots in detail.
Images and branding
Presigned S3 uploads for medicine photos and the org logo.