It is a backend part of the web push demo.
Install:
- Run
yarn install
- Run
./node_modules/.bin/web-push generate-vapid-keys
to get your VAPID keys. - Copy
.env.example
to.env
and fill in public and private key params with generated values. - Start the server with
node index.js