Skip to content
All projects

Web

DelExpress

The shift's deliveries and the day's settlement, in the courier's pocket.

A mobile-first PWA for restaurant couriers: it logs deliveries, payments and tips, reads the order ticket from a photo with AI, plans the route and works out what to pay or collect at the end of the day — even offline.

Project websitePrivate repository
Status
Private
Year
2026
Category
Web
shift · 6 deliveries#1042card#1043cash#1044paidSETTLEMENTcollect$12.4012342-opt · 4 stopsPrivate

About the project

DelExpress was built so a restaurant courier can settle the shift without a spreadsheet. Each delivery records the payment method — cash, card, already paid or split — and the tip, in cash or on card, independently. At the end of the day, the settlement shows how much cash should be left in hand and whether the courier pays or collects from the restaurant, with the rule covered by tests.

A photo of the ticket fills in the order number, address, amount and time: a multimodal model (Gemini, falling back to OpenAI) returns JSON and leaves a field empty rather than guess, and the courier reviews it before saving. The route opens in Google Maps, Waze or Apple Maps, ordered by the Google Routes API with a local 2-opt fallback, on an interactive Leaflet and OpenStreetMap map. Data stays on the device, in IndexedDB, and the app installs as a PWA.

Highlights

  • Shift settlement that combines cash, card, split bills and tips under one rule, covered by tests.
  • Ticket reading from a photo with Gemini and an OpenAI fallback: JSON output, empty fields instead of guesses and review before saving.
  • Routes ordered by the Google Routes API with a local 2-opt fallback, a Leaflet/OpenStreetMap map and links to Google Maps, Waze and Apple Maps.
  • Offline-first: data in IndexedDB (Dexie), an installable PWA, JSON backup and restore, and a screen that stays on during the shift.
  • Cloudflare Pages Functions endpoints with per-IP rate limiting (KV), an image size cap and security headers.
  • Portuguese and English interface; 59 tests (Vitest) and a build in CI on every push, with automatic deploys to Cloudflare Pages.

Projects

More projects

Contact

Let's talk?

Got a platform, cloud or observability challenge — or want to chat about one of the projects? Reach me on WhatsApp or by email.