/gatelink

WebPush Gateway

Primary LanguageTypeScriptMIT LicenseMIT

gatelink

WebPush Gateway (powered by quarkus)

The gatelink service implements:

Push Notification Overview

quickstart

gatelink server build & start:

cd gatelink
mvn package
java -jar target/gatelink-[VERSION]-runner.jar 

alternative / development mode:

cd gatelink
mvn compile quarkus:dev

gatelink docker build

mvn package
docker build -f src/main/docker/Dockerfile.jvm -t quarkus/gatelink-jvm .
docker run -i --rm -p 8080:8080 quarkus/gatelink-jvm

test ui start

Install browsersync

cd webpush-ui
./startBrowserSync.sh

webpush-ui sample application

The user interface uses

  1. Notification API to display the badges
  2. Push API to receive the messages and send a subscription to the server.
  3. Service Workers API to listen for changes in the background
  4. Custom Elements for structuring the application
  5. Fetch API to send the subscription to the server or to unsubscribe.