Skip to content

Spomky-Labs/web-push-demo

Repository files navigation

Web Push Demo

This is a simple demo application that can be used as a base for bigger projects. The application is configured to send web push notifications.

Online demo

To test this application online, please visit https://quiet-caverns-28842.herokuapp.com/ (may need few seconds to start up).

Compatible Browsers

This demo is compatible with Firefox, Chrome and Edge. Issues have been detected with Brave and Opera.

Build your Own

Prerequisites

Please make sure you install the following applications:

  • yarn
  • symfony
  • composer

Usage

First, clone the demo

gh repo clone Spomky-Labs/web-push-demo
cd web-push-demo

Then install the dependencies and build the project

composer install
yarn install
yarn build

And serve the application

symfony serve

You can visit your application at URL showed in your terminal (usually https://127.0.0.1:8000).

Troubleshooting

Some browsers seem to refuse Service Workers when application are served with self-signed certificates. You can either use trusted certificates or disable the Symfony ones as a temporary solution.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published