Distributors visit a lot of shops in one day. They deliver goods, move on to the next stop, and a week later they need to come back to the same shop to collect a payment or take a repeat order. The problem is simple: they forget exactly where that shop was.
DistroQuick is a mobile-first Progressive Web App I built to solve that.
What it does
The core workflow is short on purpose, because it has to work in the field, with one hand, between deliveries:
- Open the app and find your current location.
- Drop a pin on the shop, or drag it to the exact spot.
- Save the basics: shop name, owner or contact person, phone number, a nearby landmark and the delivery date.
- Later, search saved shops by name, owner, phone, landmark or date.
- Tap a shop and open directions to it in Yandex Maps.
You can also edit a shop, move its pin, delete it, and filter the list by delivery date or area.
Why it works offline
Distributors are often in places with a weak connection. So all shop data is stored on the device with IndexedDB (through Dexie.js), not on a server. Saved shops stay available even with no internet at all.
The app is also installable as a PWA, with a web app manifest and a service worker, so it opens like a native app from the home screen.
Map tiles are the one part that still needs a connection, unless they were cached before. The shop data itself is always there.
Why Yandex Maps for directions
The app is meant for Uzbekistan, where Yandex Maps is what most people use for navigation. Instead of building routing inside the app, DistroQuick hands off to Yandex Maps with the shop's coordinates, which gives turn-by-turn directions people already know.
The stack
- React and Vite for the app
- Leaflet and React Leaflet for the map
- IndexedDB with Dexie.js for local storage
- Vite PWA Plugin for the manifest and service worker
What's next
Version 1 covers the field workflow and nothing more. Ideas for later versions include user accounts and cloud backup, a dashboard for companies with several distributors, visit and payment history, Excel export, and Uzbek and Russian language support.