Building a ride-sharing platform from scratch.

Most ride-sharing apps fail because they're built as single-platform monoliths. Hitch needed to work on mobile, web, and desktop — with offline support, real-time matching, and a backend that doesn't bankrupt you at scale.

Offline-First

Users need to book rides, check transit, and navigate — even without signal. Local SQLite syncs when connection returns.

Real-Time Matching

AI-powered ride matching must run at the edge, not in a distant data center. Sub-millisecond latency matters when people are waiting.

Cost at Scale

Firebase bills scale with usage. Cloudflare edge infrastructure costs pennies per user — critical for a platform that needs to be affordable.

Four platforms. One product.

Each codebase serves a specific purpose, but they share design tokens, API contracts, and a unified vision.

📱 Flutter Mobile App

Primary platform — Android & iOS with offline-first architecture.

75% Complete

Flutter/Dart with SQLite local database, Firebase Auth for Google Sign-In, Google Maps for navigation, and GTFS real-time transit data integration. Features include ride booking, AI-powered matching, social profiles, reward system, and offline-first sync. Phase 1 (auth, GPS, social, offline) is complete; transit integration is in progress.

FlutterDartSQLiteFirebase AuthGoogle MapsGTFS

🌐 ReactJS Web Companion

Web version mirroring mobile screens — deployed on Cloudflare Pages.

Complete

React 18 with Vite, Firebase for auth and data, Google Maps JS API, react-router-dom for navigation. Mirrors all mobile screens as a web companion. Deployed on Cloudflare Pages with GTFS cache API routes for transit data optimization.

React 18ViteFirebaseGoogle Maps JSCloudflare Pages

📐 React Native Prototype

Spec-driven development with interactive prototypes and OpenAPI contract.

Spec-Driven

React Native CLI project using GitHub Spec Kit (specify-cli) for spec-driven development. Includes interactive HTML prototypes, a design system with shared tokens between RN and Flutter, OpenAPI 3.1 contract, and a Prism mock API server for frontend testing before the backend exists. Deployable prototypes at hitch-app-prototype.vercel.app.

React NativeSpec KitOpenAPI 3.1Prism MockVercel

⚡ Cloudflare Workers Infrastructure

Edge backend replacing Firebase — D1, Durable Objects, offline sync.

Edge-Native

Cloudflare Workers with D1 (SQLite-compatible database), Durable Objects for strong-consistency ride matching, offline-first sync to local SQLite, and a complete API gateway. 99% cheaper than Firebase at scale. Features include auth workers, location tracking, ride-matching Durable Object, rate limiting, and automated deployment scripts.

Cloudflare WorkersD1Durable ObjectsSQLiteEdge Computing

The full stack.

Every layer chosen for performance, cost, and developer experience.

Stack Overview

Mobile Framework
Flutter (Dart) + React Native
Web Framework
React 18 + Vite
Database
SQLite (local) + D1 (edge)
Auth
Firebase Auth (SSO)
Maps
Google Maps + OpenStreetMap
Transit Data
GTFS Static + Realtime
Backend
Cloudflare Workers + Durable Objects
Deployment
Cloudflare Pages + Vercel

Why this stack?

Flutter for the mobile app gives us a single codebase for Android and iOS with native performance. React Native serves as the spec-driven prototype layer — faster iteration before committing to Flutter's native bindings.

Cloudflare Workers replace Firebase entirely, cutting infrastructure costs by 99% while providing edge computing with sub-millisecond latency. Durable Objects give us the strong consistency needed for real-time ride matching without the vendor lock-in of a centralized database.

Shipped features, not slide decks.

✅ Authentication

Firebase SSO with Google Sign-In, email/password registration, session management.

✅ Location Services

GPS tracking, distance calculations, nearby discovery, WiFi peer discovery (simulated).

✅ Trip Management

Trip CRUD, forms, screens, ride booking workflow with status tracking.

✅ Transit Integration

GTFS static data, real-time vehicle positions, multi-modal route planning, transit analytics dashboard.

✅ AI Ride Matching

Local-first matching algorithm that considers distance, time, and compatibility — running on the edge.

✅ Reward System

Efficiency-based rewards, loyalty levels, achievements, progress tracking.

Proof we can architect and ship.

Multi-Platform

We don't just build mobile apps. We architect products that work across every platform — mobile, web, desktop — with shared design systems and API contracts.

Edge-Native Infrastructure

We replaced Firebase with Cloudflare Workers, cutting costs by 99%. Durable Objects give us strong consistency for real-time features without vendor lock-in.

Spec-Driven Development

We write specs before code. OpenAPI contracts, interactive prototypes, and shared design tokens ensure every platform stays in sync — no drift, no rework.

Have a complex product in mind?

Hitch proves we can architect, build, and ship multi-platform products with edge-native infrastructure. Let's talk about yours.