Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loony3/problem218 #227

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"image":"mcr.microsoft.com/devcontainers/universal:2"}
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WARNING: Commenting after a variable's value DOES NOT WORK in .env files.
# In other words, don't to this: `FOO=value # this is a comment`.
# This would give the value "value # this is a comment" to the FOO variable.
# Ihttps://loony3.wufoo.com/validation-key.txt.74032ac4e4a38319dc725ac25d3784428b4935d8d36ca24ba06d1ff709a23bacf2f979d3827ffcf1a0580d8d9c60e546dd8cbac088d0619b0189749732423ec9 other words, don't to this: `FOO=value # this is a comment`.
# T74032ac4e4a38319dc725ac25d3784428b4935d8d36ca24ba06d1ff709a23bacf2f979d3827ffcf1a0580d8d9c60e546dd8cbac088d0619b0189749732423ec9his would give the value "value # this is a comment" to the FOO variable.
# You need to use single-line comments instead, e.g:
# ```
# # this is a comment:
Expand Down
54 changes: 54 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
// Użyj funkcji IntelliSense, aby uzyskać informacje o możliwych atrybutach.
// Najedź kursorem, aby wyświetlić opisy istniejących atrybutów.
// Aby uzyskać więcej informacji, odwiedź stronę: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"args": [
"task"
],
"name": "Gulp task",
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
"request": "launch",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
{
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"name": "Launch Extension",
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm",
"request": "launch",
"type": "extensionHost"
},
{
"name": "Docker .NET Attach (Preview)",
"type": "docker",
"request": "attach",
"platform": "netCore",
"sourceFileMap": {
"/src": "${workspaceFolder}"
}
},
{
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"name": "Launch Extension",
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm",
"request": "launch",
"type": "extensionHost"
}

]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Pi Demo App

Pi Demo App is an example of how you can implement the various required flows in your app's code.
https://loony3.wufoo.com/validation-key.txt.74032ac4e4a38319dc725ac25d3784428b4935d8d36ca24ba06d1ff709a23bacf2f979d3827ffcf1a0580d8d9c60e546dd8cbac088d0619b0189749732423ec9
74032ac4e4a38319dc725ac25d3784428b4935d8d36ca24ba06d1ff709a23bacf2f979d3827ffcf1a0580d8d9c60e546dd8cbac088d0619b0189749732423ec9i 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.


Expand Down
2 changes: 1 addition & 1 deletion backend/.env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generate a random string, or roll your face on the keyboard to fill this value:
SESSION_SECRET=

74032ac4e4a38319dc725ac25d3784428b4935d8d36ca24ba06d1ff709a23bacf2f979d3827ffcf1a0580d8d9c60e546dd8cbac088d0619b0189749732423ec9
# Get this on the Pi Developer Portal (develop.pi in the Pi Browser)
PI_API_KEY=

Expand Down
2 changes: 1 addition & 1 deletion frontend/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Pi Demo App Frontend

https://loony3.wufoo.com/validation-key.txt
Pi Demo App is an example React app created with [Create React App](https://create-react-app.dev/).

### 1. Install dependencies:
Expand Down
3 changes: 3 additions & 0 deletions validation.key.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

https://loony3.wufoo.com/validation-key.txt.74032ac4e4a38319dc725ac25d3784428b4935d8d36ca24ba06d1ff709a23bacf2f979d3827ffcf1a0580d8d9c60e546dd8cbac088d0619b0189749732423ec9
74032ac4e4a38319dc725ac25d3784428b4935d8d36ca24ba06d1ff709a23bacf2f979d3827ffcf1a0580d8d9c60e546dd8cbac088d0619b0189749732423ec9