← cd ../work/mobile

Case study · Mobile

TransportateReal-Time Transit App

Real-time buses, subway, and trains for Buenos Aires in a React Native app, backed by an edge proxy on Cloudflare Workers that hides credentials, caches, and normalises public transit feeds. Published on the App Store.

React Native / Expo / App Store Live on App Store2026
Three iPhone screens of Transportate showing live arrivals, a bus route on a map, and a subway line with its stations

$ ls ./screens

  • Transportate, screen 1 of 4
  • Transportate, screen 2 of 4
  • Transportate, screen 3 of 4
  • Transportate, screen 4 of 4

Project Overview

Transportate shows real-time arrivals for buses, the subway, and commuter trains in the Buenos Aires metropolitan area, with no accounts, no analytics, and location that never leaves the phone. The app is built with Expo SDK 58 and Expo Router; a proxy on Cloudflare Workers sits between the app and the public data sources. It is published on the App Store in Argentina.

Role & Responsibilities

  • Designed and built the full system: mobile app, edge proxy, shared contracts, data-preprocessing tools, and the public website.
  • Built the proxy with Hono on Cloudflare Workers: it keeps the city’s API credentials server-side, caches responses, rate-limits clients, isolates each data source behind an adapter, and serves the app a single versioned JSON contract.
  • Shared Zod schemas between proxy and app so both sides are type-checked against the same contract.
  • Wrote GTFS preprocessing tools that build a versioned static package (stops, lines, subway, trains) stored in R2, so search and nearby stops are resolved on the device.

Key Challenges

  • Normalising heterogeneous real-time feeds (city GTFS for buses and subway, a separate source for trains) into one predictable contract, and degrading gracefully when a source is down.
  • Showing live vehicle positions and route shapes on MapLibre maps that refresh in place.
  • Sizing caching and rate limits so the proxy protects the upstream APIs and scales predictably on Cloudflare’s plans.

Outcomes

  • Version 1.0 live on the App Store, with four native tabs (Home, Buses, Subway, Trains) and favourites with live data.
  • 1,172 automated tests across the app (822), proxy (130, running inside workerd), contracts (116), and GTFS tools (104).
  • Light and dark themes, on-device search over the static package, and no personal data collection.

Stack

  • App: React Native, Expo SDK 58, Expo Router, TypeScript, TanStack Query, MapLibre, MMKV.
  • Edge: Cloudflare Workers, Hono, R2, Zod contracts.
  • Tooling: pnpm workspace, Vitest, ESLint, Prettier, EAS Build.
  • Website: Astro on Cloudflare.