Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

251
Visualizações
How to send web push notification when column value in database is changed for particular user?

For the past 2 days I've been researching about web push notifications as it is a new topic and something that I am getting in touch for the first time in development.

I've found many done web push notification services as Wonderpush and OneSignal. So far regarding to these services, I've been mostly intrigued by OneSignal and what they've done and how they've done neat user-interface from enabling push notification to push notifications itself.

The thing is, I can't figure out if these will go along with my requirements, as I need to trigger action (show push notification) when column in database is updated, but the thing is, it's not same for everyone. The situation is following, I have database of customer's cars and of course one customer can have multiple cars and car can have only one owner and there's column "carStatus" which can have value Done, In Process and On Hold. So, I'd have to modify Web Push Notification to do following: Let's say default value of carStatus is On Hold, when it changes to let's say Done, I'd want to send push notification to user which that particular car belongs to.

My first question, is something like that even achievable with OneSignal or I would have to write custom code for it?

My second question, if I'd have to write custom code for this, do you have any good resources on Web Push Notification except from MDN as I don't find it way too useful for mine case and it seems like general stuff.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You can do this using our REST API. Take a look at this blog post to learn how to use our API. What you have to do is your backend when it updates your database, you will call the OneSignal REST API and pass the information to the web push notification. Keep in mind that the blog post is using NodeJS, but our REST API can be used with almost any programming language.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda