/Angular_DRF_Braintree_Example

A simple example on how to use Braintree with Angular and Django Rest Framework

Primary LanguageTypeScriptMIT LicenseMIT

About Angular_DRF_Braintree_Example

This is a simple example on how to use Braintree with Angular and Django Rest Framework. We use Hosted Fields for the integration. You should check the Braintree JS Client SDK and the Braintree Python Server SDK before you continue.

Getting Started

The following instructions will get you a copy of this project up and running on your local machine for development and testing purposes.

Download

git clone git@github.com:Bluescreens/Angular_DRF_Braintree_Example.git
cd Angular_DRF_Braintree_Example

Prerequisites

  • python: 3.6.3
  • Angular = 4
pip install -r requirements.txt

Installation

  • Use your braintree credentials here.
cd client
npm install && ng build
cd ../server
python manage.py runserver

Contributing

  • Any contribution that will enchance the current project is welcome.
  • If you have any question about this project you can open an issue.
  • If you spot any kind of bug or you have a suspicion of a bug that may occur please let us know by opening an issue.
  • If you want to contribute to this project just create a pull request.

Author

Stefanos Chaliasos

Licence

This project is licensed under the MIT Licence — see LICENSE.md file for details.

Acknowledgments