A Ruby/Sinatra application that demonstrates the Braintree Auth API.
To start the application:
-
Configure your OAuth application in sandbox to include a redirect URI of
http://127.0.0.1:9393/callback
-
Edit the
.env
file to insert the client id and client secret of your OAuth application in sandbox -
Run the application
bundle install rake db:migrate ./scripts/start.sh
-
Navigate to
localhost:9393
Full documentation is available in the Braintree developer docs