Skip to content

danielduro/example-ios-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example iOS Backend

This is a really simple Sinatra webapp that you can use to test Stripe's example iOS apps.

It has a single endpoint, /charge, which takes 2 parameters (stripeToken and amount) to create a charge 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 backendChargeURLString variable in our example apps to your Heroku URL (it'll be in the format https://my-example-app.herokuapp.com).

Happy testing!

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%