Skip to content

The application is used to send push notifications from the Vernissage platform.

License

Notifications You must be signed in to change notification settings

VernissageApp/VernissagePush

Repository files navigation

Vernissage Push

NodeJS Platforms macOS | Linux | Windows

The application is used to send push notifications from the Vernissage platform.

The application serves one endpoint:

POST https://example.url/send

You can send the JSON in format:

{
    "vapidSubject": "",
    "vapidPublicKey": "",
    "vapidPrivateKey": "",
    "endpoint": "",
    "userAgentPublicKey": "",
    "auth": "",
    "title": "",
    "body": "",
    "icon": ""
}

Thus you have to specify Vapid keys and also user public key and secret from the browser. Before using application you have to set up one environment variable, eg:

$ export VPUSH_KEY=YourSuperSecretKey

Each request to the API have to contains header:

Authorization: Basic YourSuperSecretKey

Docker

In production environments, it is best to use a docker image.

About

The application is used to send push notifications from the Vernissage platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published