JavaScript Apache-2.0

simple-push-demo

A simple example of use push notifications on the web using Service Workers

G

gauntface

Dernière activité 24 sept. 2026
gauntface/simple-push-demo

947

étoiles

224

forks

5

issues ouvertes

Ce README est souvent en anglais.

Simple Push Demo title card with a paper airplane

Simple Push Demo

The goal of this repo is to demonstrate how to implement push notifications into your web app.

Relevant Docs Information

Demo

Visit the demo here.

Development

You can develop this project locally by running the following:

npm install
npm run dev

Testing

Tests can be run with npm run test which will run tests using puppeteer.

If you want to view and run the browser tests in your own browser, which is useful for debugging, start a server in the root of this project and navigate to the /test/browser-tests/index.html page.

Hosting

This project is hosted on vercel and can be tested locally using the vercel CLI by running:

npm run vercel

Projets similaires

An example for sending Web Push notifications, using web-push-php

JavaScriptnotificationsphppush-notifications
MMinishlink
278 étoiles90

Web Push library for Node.js

JavaScript
Wweb-push-libs
3,6 k étoiles326

Web Push library for PHP

PHPnotificationsphppush-notifications
Wweb-push-libs
1,9 k étoiles312