Skip to content
プロジェクト

概要

Pi Demo 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 Pi Platform API on the backend side and Pi SDK on the frontend side of your app.

学習・教育

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
+2
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Pi Demo App

Pi Demo 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 Pi Platform API on the backend side and Pi SDK on the frontend side of your app.

It is composed of two major parts:

  • frontend: a single-page frontend app (built with React and Vite)
  • backend: a backend app (a very simple JSON API built with Express and Mongo)

Initial Development

Read 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 Demo App, use Mozilla Firefox.

Deployment

Read 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 demo app features, please refer to Pi Demo App Flows.

関連プロジェクトを探す

読み込み中…