Stats

27 Contributors: 1 Thursday, July 27, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Push notifications

Introduction

So if you wanna make web app notification I suggest you to use Push.js or SoneSignal framework for Web/mobile app.

Push is the fastest way to get up and running with Javascript notifications. A fairly new addition to the official specification, the Notification API allows modern browsers such as Chrome, Safari, Firefox, and IE 9+ to push notifications to a user’s desktop.

You will have to use Socket.io and some backend framework, I will user Express for this example.

Parameters

module/frameworkdescription
node.js/expressSimple backe-end framework for Node.js application, very easy to use and extremely powerful
Socket.ioSocket.IO enables real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed.
Push.jsThe world's most versatile desktop notifications framework
OneSignalJust another form off push notifications for Apple devices
FirebaseFirebase is Google's mobile platform that helps you quickly develop high-quality apps and grow your business.

Related Examples