Push Notifications with Service worker

Sdílet
Vložit
  • čas přidán 5. 08. 2024
  • Push notifications in JavaScript are a powerful tool for engaging users and informing them in real-time. Leveraging the capabilities of web browsers and service workers, push notifications to allow websites and web applications to send timely updates, alerts, or messages to users even when they are not actively using the site. This seamless, non-intrusive communication channel enhances user engagement, encourages return visits, and enables developers to deliver personalized and relevant content, making it a crucial feature for modern web experiences.
    This video series will take you through the fundamentals of Push notifications and how to implement a basic setup in your project.
    Playlist link: • Push Notifications usi...
    ⌚Timestamps
    0:00 - Introduction
    0:31 - Push and local notifications
    1:15 - Core components
    2:12 - Push notification flow
    2:38 - Basic setup
    4:52 - Ask notification permission
    7:56 - Do not ask for notification permission right away
    9:04 - Enable notification button
    11:41 - Sending notification from a service worker
    13:50 - Outro
    🧑‍💻Other playlists:
    Service worker in Javascript (2023) - • Service worker in Java...
    Javascript observers(2023) - • Javascript Observers(2...
    The Web components Playlist - • Web components 2023
    The Git series(2023) - • The Git series(2023)
    Multitasking in NodeJS - • Multi tasking in NodeJS
    NodeJS Authentication with Passport - • NodeJS Authentication ...
    Job scheduling in NodeJS - • Job scheduling in NodeJS
    NPM Tutorial Series - • NPM Tutorial Series (2...
    Javascript(Behind the scenes) - • Javascript(Behind the ...
    Socials
    🐤 Twitter - / themangalorian
    📷 Instagram - / _alt.ar_
    👔 LinkedIn - / akilesh-rao-610357137
    🧑‍💻 GitHub - github.com/AkileshRao
    📝 Medium - / akileshrao19
    #serviceworkers #webworkers #pushnotifications #notifications
  • Věda a technologie

Komentáře • 22

  • @frankemmanuel2417
    @frankemmanuel2417 Před měsícem +2

    Thanks Man i have been in this for so long i really appreciate you bro

  • @vineetsingh904
    @vineetsingh904 Před 11 měsíci +8

    find your channel after watching you OAuth playlist and that is the best playlist on CZcams right now to learn passport.js.
    Your teaching style is very very good it really makes easy to learn topic and your voice is also good

  • @user-yo2gv2oj7q
    @user-yo2gv2oj7q Před 6 měsíci +4

    EXCELLENT BRO ,Thanks Form Pakistan, just always keep this quality

  • @webwisesagar
    @webwisesagar Před 5 měsíci +2

    Best resource out there. I integrated the push notification in a NextJS application by taking reference from your video. Excellent communication and explanation skills. Thankyou keep up the Good Work.

    • @mouaad_games8
      @mouaad_games8 Před 5 měsíci +1

      I'm watching for the same reason 😅

    • @tc5878
      @tc5878 Před měsícem

      Hi there. Do you have any repository avaiable to checkout?

  • @reignsvicky
    @reignsvicky Před 4 měsíci +1

    Very helpful, Worthy watching.

  • @ivanchu8528
    @ivanchu8528 Před 7 dny

    That is a great video, thank you very much,
    And I want to know that, if user use google chrome in their mobile phone, if user close the web page, can I send the Push notifications to the user mobile phone ?

  • @mutasimahmed8975
    @mutasimahmed8975 Před 5 měsíci

    learning something new !

  • @matthewpaquette
    @matthewpaquette Před 6 měsíci

    Legend!

  • @kedarsatwik6938
    @kedarsatwik6938 Před 2 měsíci

    I have created a web app using react js, in app i made users to add the todo element and select time. Now i want to send notification to them at that time as a reminder. Can i do that using this ?

  • @gauravmithas2362
    @gauravmithas2362 Před 2 měsíci

    couldnt be better than this!!
    =

  • @jouchiwinchester2666
    @jouchiwinchester2666 Před 4 měsíci +1

    this is only good if the browser/tab is active, is user close the tab it will not work

  • @denischikita
    @denischikita Před 5 měsíci +4

    it's not an implementation of pushes.

  • @hrithwikjayaraj1253
    @hrithwikjayaraj1253 Před 5 měsíci

    Great Video! anyone have any experience implementing this in a java - react PWA?

  • @moathahmed2360
    @moathahmed2360 Před 2 měsíci

    very good , i want when i click on notification i will go to url how can i do that

  • @Gaurav-zj4pu
    @Gaurav-zj4pu Před měsícem

    Web Notification API doesn't have support for mobile browsers, is it true?

  • @Mohtarefelparmga
    @Mohtarefelparmga Před 8 měsíci +1

    How can i get the source code

    • @akileshrao
      @akileshrao  Před 8 měsíci +4

      github.com/AkileshRao/Service-worker-notification/tree/main