/node-react-payment-examples

NodeJS + React payment examples including Stripe, PayPal and Braintree.

Primary LanguageTypeScriptMIT LicenseMIT

node-react-payment-examples

NodeJS + React payment examples including Stripe, PayPal and Braintree.

Installation

Use these steps to install project

Backend

1. add braintree, stripe, paypal api keys to .env file (see .env.example file)
1. yarn install
2. yarn start

Build project:

yarn build

Frontend

1. yarn install
2. yarn start

Build project:

yarn build

Usage

This example consists of backend part for handling payment requests, and frontend part for sending requests. Backend part wrote using Node.js platform and Nest.js fraemwork. Frontend part wrote using React.js. In this example you can review how to implement base payment scenarios using React and Node.js.

Main Technologies and libraries

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

Vlad Morzhanov

License

(The MIT License)

Copyright (c) 2019 Vlad Morzhanov. You can review license in the LICENSE file.