Replaced paper and WhatsApp job logs for on-ground staff at a Mumbai customs clearance firm: jobs, expenses and cargo photos, logged reliably from the port.
The job
Field staff at a Mumbai customs clearance and port logistics company tracked jobs, expenses and cargo documentation on paper and in WhatsApp threads. I built the Android app that replaced that, alone, as a freelance project.
Built for the port, not the office
- Offline-resilient logging, because coverage at the port is unreliable.
- A custom horizontal paging ScrollView, written to remove the lag from high-resolution cargo photos.
- Vouchers generated on the device, HTML to PDF, with no server round trip.
- Separate admin and field-staff roles, with admin filtering and CSV export.
Sessions that never drop mid-job
Each account is limited to one device. The server keeps a rolling SHA-256 hash of the current refresh token on the user record, and Axios refreshes tokens silently, so field staff are never logged out in the middle of a job.
Infrastructure
ElysiaJS on Cloudflare Workers, serverless Neon Postgres through Drizzle ORM, Cloudinary signed uploads and Cloudflare R2 for storage. Distributed with EAS, updated over the air with Stallion.