About the meaning
Web Push is a short text message that pops up on your phone or browser with an advertisement for goods or services from a seller.

To start interacting with web guns, you, as a user, need to “Allow” sending notifications to your phone. Also, you can prohibit mailing by selecting “Deny” or simply minimize the “Close” window. Depending on what the user chooses, one of these statuses will come into the code and it will be automatically distributed how to interact with it further.
The first service for sending such messages - Apple Push Notification Service (APNs) - appeared in June 2009.
In 2010, Google Cloud to Device Messaging was released.
From a technical point of view, web push notifications are divided into two parts:
1. Push API
2. Notification API

Thanks to the service workers, applications can work out a number of functions without connecting to the network.
Notification API is a technology that works on the Front End side in the “service worker >> front end” link. For the user, this is the very message about subscribing to web notifications or the notification itself.
In order to implement such functionality, the developer needs to check whether the browser supports interaction with service workers and their current version.
After this step, you need to register a service worker. Registration takes place by adding a service worker to the javascript code of the project, after which the browser reads it and it is identified and further activated.