Pre-launch. Mar 2025 – Present.
Mandados
Errand & delivery platform
Errands, shopping and courier work in Costa Rica for individuals, hotels and businesses, run by salaried drivers.




What I built
- Built the full product: Laravel 12 / PostGIS API, Next.js admin, React Native client and driver apps (iOS, Android and web), real-time updates via Reverb and push via FCM; ~8,900 tests.
- Designed automatic dispatch as bin-packing: feasibility checks, driver ranking by distance rings, insertion simulation within time windows, and cascading re-dispatch when a window overflows.
- Built the payments lifecycle behind a provider contract: saved cards, reconciling quote vs. actual route into automatic surcharge or refund, and debt collection.
More of the detail
- Found and measured a daylight-saving bug (a 30-minute shift window parsed as 1,410 minutes) and removed the hard-coded timezone assumption platform-wide.
- Domain model where a stop is an obligation that outlives any single attempt, with its own state machine; multi-stop orders priced per leg and re-quoted from the route actually driven.
- TypeScript types and typed broadcast payloads generated from PHP DTOs and shared byte-for-byte across four codebases.
- Diff-aware test selection that picks tests by domain from the git diff and falls back to the full suite when unsure.
- Three locales served from the API through laravel-to-i18next, my open-source package.


