Push messaging provides a simple and effective way to re-engage with your users and in this code lab you'll learn how to add push notifications to your web app.
Make sure you have installed http-server globally and then run it in this directory:
http-server -p 18084
Open your browser and access http://localhost:18084 (Note: http-server can be configured to start on a different port)
- Using Google Chrome : open dev tools > application > service worker > push
- Or, you can test it on https://web-push-codelab.glitch.me/
- Web Notification : https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API
- Push Notification : https://developers.google.com/web/fundamentals/codelabs/push-notifications/
- Push Api : https://developer.mozilla.org/en-US/docs/Web/API/Push_API
- Case : https://developers.google.com/web/fundamentals/codelabs/push-notifications