Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paypal/paypal-checkout-demo
Demo app for paypal-checkout
https://github.com/paypal/paypal-checkout-demo
checkout demo paypal react
Last synced: about 1 month ago
JSON representation
Demo app for paypal-checkout
- Host: GitHub
- URL: https://github.com/paypal/paypal-checkout-demo
- Owner: paypal
- License: apache-2.0
- Created: 2017-03-29T18:28:36.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-11-23T19:37:56.000Z (about 1 year ago)
- Last Synced: 2024-10-16T00:11:30.305Z (2 months ago)
- Topics: checkout, demo, paypal, react
- Language: JavaScript
- Size: 11.6 MB
- Stars: 49
- Watchers: 22
- Forks: 40
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# PayPal Checkout Integration Patterns Demo WebApp
## Description
The demo web application is a React app that shows different styles of PayPal integrations. It uses the wonderful [Ace Code Editor](https://github.com/ajaxorg/ace) to provide a live demonstration HTML and Javascript code which you can tweak and see rendered on the page.
## Development
The source is found in the `src/app` directory.
Please feel free to follow the [Contribution Guidelines](../master/CONTRIBUTING.md) to contribute to this demo application. PRs are welcome, but for major changes please raise an issue first.
### Run locally in Docker
This command downloads all requirements, builds the source and starts the app inside the container. Nothing other than Docker needs to be installed.
```sh
$ docker-compose up
```If you make code changes and want to see them reflected, you will need to rebuild the container with and start the updated container with the following commands
```sh
$ docker-compose build
$ docker-compose up
```### Run locally at command line
#### Download project requirements
```sh
$ npm install
```#### Build the React app
```sh
$ npm run build
```#### Start the app
```sh
$ node src/app/server
```