-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDoc
31 lines (17 loc) · 1.14 KB
/
Doc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Pay with Pi App
Pay with Pi App is an example of how you can implement the various required flows in your app's code.
It aims to show you how to use Pay with Pi Platform API on the backend side and Pay with Pi SDK on the frontend side of your app.
It is composed of two major parts:
* **backend**: a backend app (a very simple JSON API built using Node and ExpressJS)
* **frontend**: a single-page frontend app (built using React and create-react-app)
## Initial Development
Read [`doc/development.md`](./doc/development.md) to get started and learn how to run this app in development.
> **WARNING**
>
> The demo app uses express session cookies which, in the Sandbox environment, are not correctly saved on the client on some browsers.
> To properly test all of the features of the Pay with Pi App, we recommend you to open the sandbox app using Pi browser.
## Deployment
Read [`doc/deployment.md`](./doc/deployment.md) to learn how to deploy this app on a server using Docker and docker-compose.
## Flows
To dive into the implementation of the flows that support the Pay with Pi app features, please refer to
[Pay with Pi App Flows](./FLOWS.md).