Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morzhanov/node-react-payment-examples
NodeJS + React payment examples including Stripe, PayPal and Braintree.
https://github.com/morzhanov/node-react-payment-examples
braintree braintree-sdk nestjs nodejs payment payment-gateway paypal paypal-rest-api react stripe stripe-api typescript
Last synced: about 2 months ago
JSON representation
NodeJS + React payment examples including Stripe, PayPal and Braintree.
- Host: GitHub
- URL: https://github.com/morzhanov/node-react-payment-examples
- Owner: morzhanov
- License: mit
- Created: 2018-12-19T08:36:58.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T01:42:42.000Z (almost 2 years ago)
- Last Synced: 2023-03-07T14:16:20.989Z (almost 2 years ago)
- Topics: braintree, braintree-sdk, nestjs, nodejs, payment, payment-gateway, paypal, paypal-rest-api, react, stripe, stripe-api, typescript
- Language: TypeScript
- Size: 2.71 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
- React
- React Router
- Emotion
- Webpack 4
- TypeScript
- NodeJS
- NestJS
- Prettier
- Babel
- SCSS
- PostCSS## 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.