0.0.2 • Published 7 years ago
braintree-mongo v0.0.2
braintree-mongo
This repository is a work in progress.
NPM Package that provides an abstraction layer for integrating an e-commerce site with Braintree, using MongoDB as its database.
Requirements
You should have already:
- Set up MongoDB
- Installed MongoDB on your machine
 - Created a database (usually at 
/data/) - Started the Mongo daemon
 
 - Created a (sandbox) account with Braintree and obtained your credentials
 
The package requires you to set the following environment variables:
MONGO_URL- URL of your database and collection. E.g.mongodb://localhost:27017/myprojectBRAINTREE_MERCHANT_ID- Braintree Merchant ID. E.g.nbfthc5k9vjs6djbBRAINTREE_PUBLIC_KEY- Braintree Public Key. E.g.6th2gszftrfx7mg4BRAINTREE_PRIVATE_KEY- Braintree Private Key. E.g.ac54ecc54h3a0a8290adf72cb580bbc6MODE- The current environment. Valid values aretest,dev,staging,productionMONGO_DEV_URL- URL of your development database and collection. E.g.mongodb://localhost:27017/braintreeMONGO_TEST_URL- URL of your test database and collection. E.g.mongodb://localhost:27017/test
TODOs
0.0.2
7 years ago