Skip to content

paypal/paypal-checkout-demo

This branch is up to date with main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

071c727 · Jul 15, 2023
Jul 15, 2023
Jul 16, 2020
Jul 16, 2020
Apr 17, 2017
Feb 7, 2023
Jul 16, 2020
Jul 16, 2020
May 1, 2017
May 1, 2017
Jun 22, 2018
Jul 16, 2020
Feb 7, 2023
Feb 7, 2023
Jul 16, 2020
May 4, 2017
Jul 21, 2020
Jul 16, 2020

Repository files navigation

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 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 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.

$ 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

Run locally at command line

Download project requirements

$ npm install

Build the React app

$ npm run build

Start the app

$ node src/app/server