The demo web application is a React app that shows different styles of PayPal integrations. It uses the wonderful Ace Code Editor to provide a live demonstration HTML and Javascript code which you can tweak and see rendered on the page.
The source is found in the src/app
directory.
Please feel free to follow the Contribution Guidelines to contribute to this demo application. PRs are welcome, but for major changes please raise an issue first.
This command downloads all requirements, builds the source and starts the app inside the container. Nothing other than Docker needs to be installed.
$ 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
$ docker-compose build
$ docker-compose up
$ npm install
$ npm run build
$ node src/app/server