Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

252
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!