Skip to content

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

License

Notifications You must be signed in to change notification settings

lordserch/stripe-connect-rocketrides

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rocket Rides: Stripe Connect demo

Rocket Rides is a sample on-demand platform that offers passengers rides with pilots, built on top of Stripe Connect, Connect Express, and the Stripe iOS SDK.

You can try the web app live on rocketrides.io.

This repository contains two components:

Web onboarding for pilots

Rocket Rides showcases how to sign up pilots and use Connect Express accounts to get them paid. Express provides onboarding, account management, an account dashboard, and identity verification for your platform, and we've customized Express with Rocket Rides branding.

This platform also uses the Stripe API to create payments for pilots, fetch their available and pending balance, and let them view transfers. It also creates Payouts for pilots who use a debit card as their payout account.

To integrate Stripe Connect in your own app, check out these two files in particular:

  1. server/routes/pilots/stripe.js shows how to easily create Connect Express accounts and interact with the Stripe API.
  2. server/routes/pilots/pilots.js shows how to create payments and transfer funds to recipient pilots.

Requirements

You'll need a Stripe account to manage pilot onboarding and payments:

  • Sign up for free, then enable Connect by filling in your Connect settings.
  • In the Integration section, add the following Redirect URI: http://localhost:3000/pilots/stripe/token.
  • Under the Express account type, click Manage to choose from which countries users can sign up. Where possible, choose the capability to just receive Transfers.

You'll need to have Node.js >= 7.x and MongoDB installed to run this app.

Getting started

Install dependencies using npm (or yarn):

cd server
npm install

Copy the configuration file and add your own Stripe API keys and client ID:

cp config.default.js config.js

Make sure MongoDB is running. If you're using Homebrew on macOS:

brew services start mongodb

Run the app:

npm start

Go to http://localhost:3000 in your browser to start using the app.

Credits

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 52.2%
  • CSS 29.3%
  • Pug 18.5%