This is a sample project that shows how to implement BrainTree drop-in UI in a Swift iOS app (Client) using NodeJS (Server).
- NodeJS
- Cocoapods
Navigate inside your server folder and run:
$ npm install
$ npm start
- Navigate to BrainTree to fetch your API credentials
- Navigate to your server folder
- Create a .env file in the root of your server directory and add your credentials
MERCHANTID = #MERCHANTID key#
PUBLICKEY = #PUBLICKEY key#
PRIVATEKEY = #PRIVATEKEY key#
Navigate to client -> BraintreeSwiftNodejs and run:
$ pod install
Open BraintreeSwiftNodejs.xcworkspace
This project is licensed under the MIT License - see the LICENSE file for details