Skip to content
Premier 99
← All work
MAD Freight app icon

MAD Freight

Live

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

MarketplaceMobileBackendiOS
MAD Freight map of the Salt Lake City area with a $10 available pickup pin, a legend for pickups, dropoffs, and destinations, and a Radius Alert button.

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.

Delivery Details sheet showing a $10 offered price, pickup at 600 South Main Street in Salt Lake City, dropoff in Las Vegas, a 25 lb package, and an Accept Delivery button.
Create Shipping Request form with pickup and dropoff address fields, city, state, and ZIP, notes, dates, and package details.
Navigation drawer listing Profile, Map, New Shipping Request, Create Destinations, Messages, Find Users, My Freight Network, Notifications, Payment Methods, and history.
Set Up Your Profile screen with username, display name, optional phone number, and location fields.
Sign-in screen with the MAD Freight logo and buttons for Sign in with Apple, Google, or email.
Onboarding slide reading Welcome to MAD Freight, the peer-to-peer shipping platform that connects people who need items delivered with drivers heading the same direction.
Onboarding slide reading Ship Anything, Anywhere, explaining how to create shipping requests and connect with drivers.
Onboarding slide reading Become a Driver, earn money by delivering packages along routes you're already driving.
Onboarding slide reading Safe & Secure Payments, all payments processed securely through Stripe.

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

Expo SDK 57React Native 0.86React 19 + React CompilerTypeScript 6Expo RouterZustandTanStack QueryUnistylesreact-native-mapsexpo-locationStripe React NativeSupabase Realtime

Backend

NestJS 11SupabaseHelmetThrottlingSwaggerCron jobs

Infrastructure

DockerFly.ioCI on every push

Services

Stripe 19Stripe ConnectApple Pay

Next project

Golf News Now

Building something like this?

Tell us what you are building. We reply within one business day.