SergeyKorochansky / example-ios-backend

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:Ruby 100.0%