Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

tomfrazier/lobby-boy-stripe-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Lobby Boy Backend

This is a really simple webapp that you can use to test your own Stripe account instead of the default one in Lobby Boy. This code is based off of Stripe's example.

It has a two endpoints:

  1. /user, which takes 3 parameters (stripeToken, email, and name) to create a customer on your Stripe account.
  2. /charge, which takes 2 parameters (customerId and amount) to create a charge for a customer on your Stripe account.

This is intended for example purposes only: you'll likely need something more serious for your production apps.

To deploy this for free on Heroku, click this button:

Deploy

Then set the kPaymentServerBaseUrl variable in our Lobby Boy app to your Heroku URL (by default it's set to https://lobbyboy.herokuapp.com).

Happy Lobby Boying!

About

A simple, easy-to-deploy backend that you can use to demo our example iOS apps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%