Skip to content

Braintree (by PayPal) Full Example for beginers, along with official tutorial

Notifications You must be signed in to change notification settings

acro5piano/learn-paypal-braintree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learn-paypal-braintree

This repository shows how braintree SDK + express.js works.

Why

Brain tree has official tutorial (of cource) but it contains a lot of implicit dependency. For example, app is for express instance, but JavaScript beginners has lack of the background, so hard to implement the tutorial.

https://developers.braintreepayments.com/start/hello-server/node

This is official example repository using express.js, but it has a lot of things such as templates, stylesheets, etc.

https://github.com/braintree/braintree_express_example

Beginner should start the minimam start point. So I created this repository.

Setup

Install Node.js > 8 and install Yarn.

Then run:

git clone https://github.com/acro5piano/learn-paypal-braintree.git
cd learn-paypal-braintree
yarn install
yarn dev

Optional: Edit server.js and fill out your SDK tokens.

Then open index.html and you can see the braintree screen.

image.png

About

Braintree (by PayPal) Full Example for beginers, along with official tutorial

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published