This is a connect application to integrate Braintree into Commercetools. It follows the folder structure to ensure certification & deployment from commercetools connect team as stated here.
cd braintree-extension
- run
yarn
to install the dependencies - insert commercetools credentials to
.env
file - run
./bin/ngrok.sh
to start ngrok and insert the dynamic url in the.env
file - run
yarn connector:post-deploy
to register the extension with the public ngrok url - run
ỳarn start:dev
to build the application
- Connector solution should be lightweight in nature
- Connector solutions should follow test driven development. Unit , Integration (& E2E) tests should be included and successfully passed to be used
- No hardcoding of customer related config. If needed, values in an environment file which should not be maintained in repository
- Connector solution should be supported with detailed documentation
- Connectors should be point to point in nature, currently doesnt support any persistence capabilities apart from in memory persistence
- Connector solution should use open source technologies, although connector itself can be private for specific customer(s)
- Code should not contain console.log statements, use the included logger instead.