Skip to content

google-pay/littlebear-web-push-provisioning

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

Little Bear Web Push Provisioning Node.js Sample

This project demonstrates how to use the Google Pay Web Push Provisioning API.

Prerequisites

Running the server

  1. In the project directory, run npm install to install dependencies.
  2. Set up your keys in the project directory as follows. Add your ASCII armored PGP keys to the top level of the project directory in files named private.key and public.key. Then, add your private key passphrase to passphrase.txt.
  3. Set the PIAID constant in server.js. Google will provide you with your PIAID during the PGP key exchange process.
  4. In the project directory, run one of the following commands:
  • node server.js to run the code locally
  • gcloud app deploy run it on a pre-configured AppEngine instance

About

Sample code demonstrating how to call the Google Pay Web Push Provisioning API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published