Answer the question
In order to leave comments, you need to log in
Implementation (in nodejs) of sending data from "alert" table (in mysql) as push notification to all users?
I created a node.js backend for a "news" app. It does not have authorization for users (as intended), that is, the application can be used without registration and authorization. I also created an admin panel (for adding news). (all data/news is on mysql)
I have a question. How can I set up push notifications, is it possible like this:
I create a table in mysql with a name like: "alert".
Then, every time you add new data to the "alert" table (on the admin panel by the Admin), it should automatically appear for all users of this application on the phone.
Please tell me the procedure. How can I implement this, via socket.io or via fcm (firebase cloud messaging)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question