joeydong-stripe / stripe-connect-rocketrides

Rocket Rides, a sample on-demand platform using Stripe Connect Express.

Home Page:https://rocketrides.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rocket Rides: Stripe Connect Demo

Rocket Rides is a fictitious on-demand platform that offers customers rides on rockets with pilots, built on top of Stripe Connect.

You can try Rocket Rides live on rocketrides.io.

Overview

Rocket Rides showcases how to sign up pilots and use Connect Express accounts for them to get paid. It uses pre-built UI components to be up and running quickly and customize the user experience.

This platform uses the Stripe API to create payments for pilots, fetch their available and pending balance, and let them view transfers. It also creates instant payouts for pilots to be paid immediately to a debit card.

To integrate Stripe Connect in your own app, check out pilots/stripe.js to see how to easily create Connect Express accounts and interact with the Stripe API. You can also look at pilots/pilots.js to see how to create payments going straight to 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 Platform Settings. In the Development section, take note of your client_id, and enter the following in the Redirect URIs field: http://localhost:3000/pilots/stripe/token.

For instant payouts to work, you'll need to turn off automatic payouts in your settings.

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

Getting Started

Install dependencies using npm (or yarn):

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 OS X:

brew services start mongodb

Run the app:

npm start

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

Credits

About

Rocket Rides, a sample on-demand platform using Stripe Connect Express.

https://rocketrides.io

License:MIT License


Languages

Language:JavaScript 51.4%Language:CSS 28.9%Language:HTML 19.7%