J
J
jenya77712018-08-01 12:22:06
Node.js
jenya7771, 2018-08-01 12:22:06

How to implement a notification system in a nodeJs application?

Hello, there is a multi-page application on nodeJs, there is technical support in the application. How can I show a notification in the header of the site after the admin or the system sends a new message to the user?
To store the cache, I use redis, can I do it as an option?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton fon Faust, 2018-08-01
@bubandos

1) websockets
2) setInterval

E
Eugene, 2018-08-01
@EShein

If everyone needs to be notified, then socket.io and let 's say snackbar (For the message itself).
If not, then just a snackbar.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question