finds.dev← search

// the find

stripe/stripe-connect-rocketrides

★ 653 · Swift · MIT · updated Mar 2024

Sample on-demand platform built on Stripe: Connect onboarding for pilots, iOS app for passengers to request rides.

Official Stripe demo showing how to build a two-sided marketplace with Connect Express: a Node.js web server that onboards pilots and handles payouts, plus an iOS Swift app for passengers to request rides and pay with Apple Pay. This is a reference implementation, not a production template — its job is to show you the happy path through Connect onboarding and payment flows.

The Connect Express integration in server/routes/pilots/stripe.js is genuinely well-structured — account creation, OAuth flow, and payout logic are each in obvious places rather than scattered. The iOS side covers both card payments and Apple Pay in a single sample, which saves you from hunting two separate examples. The split between pilot onboarding (web) and passenger payments (iOS) mirrors how real two-sided platforms actually work, so the architecture teaches as much as the code. The live demo at rocketrides.io means you can poke the actual UX before reading a line of code.

The iOS app requires Xcode 8 and targets iOS 10, which means most of the Swift syntax and SDK patterns are years out of date — CocoaPods is also showing its age here versus Swift Package Manager. MongoDB as the backend store is a weird choice for anything involving financial records; there is no transaction handling, no idempotency keys on payment creation, and no webhook processing, all of which you will absolutely need in production. The Node.js server has no tests whatsoever, and config is managed by copying a JS file rather than environment variables, which is a trap for anyone who tries to deploy this.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →