
MAD Freight
LiveThe peer-to-peer shipping platform that connects people who need items delivered with drivers heading the same way.

Problem
Independent drivers had empty space on routes they were already driving, and shippers had loads too small to justify a freight booking. No platform connected them at a price that worked for both.
Solution
A two-sided marketplace with real-time driver matching, Stripe and Stripe Connect for payments and payouts, Apple Pay, an interactive map with geo-fenced alert zones, and a hardened NestJS backend handling auth, throttling, and scheduled jobs.
Client: Mad Freight, Inc. Premier 99 designed and built the app from the original 2019 release through today's v2.3 and its backend. It ships under the client's developer account.
Key features
- Post shipments with pickup and drop-off, Google Places autocomplete, photos, weight, and dimensions
- Map-based load discovery with markers and a bottom sheet
- Driver alert zones (25/50/100/200 mi) with push notifications for nearby loads
- Driver Destinations: post a route, get matched requests, auto-expire
- Full delivery lifecycle: open, matched, accepted, en route, arrived, picked up, delivered
- Stripe Payment Intents with authorize and capture, Stripe Connect driver onboarding and payouts, Apple Pay, saved cards
- Tips, ratings and reviews, disputes, auto-confirm
- In-app messaging, notification center, friends network, blocked users
- Sign in with Google, Apple, and Facebook
Engineering highlights
The parts that separate a product from a template.
Stripe Connect end to end
Authorize-and-capture payments, driver onboarding, payouts, and raw-body webhook verification.
Geospatial matching
Alert zones, a matching RPC, and hourly crons that auto-expire stale routes and auto-confirm completed deliveries.
Security hardening
Helmet, rate limits, whitelist validation, an exception filter that strips database internals, and an admin guard on cron endpoints.
Documented for the long haul
An 11k-word backend route map and a full-stack audit live in the repo, alongside history back to 2021 and CI on every push.
Tech stack
Mobile
Backend
Infrastructure
Services
Building something like this?
Tell us what you are building. We reply within one business day.








