Use Redis and Socket.io to Authenticate Users

I am studying the use of redis and socket.io, given the number of advantages they have. In particular, I am trying to use them to authenticate users. I would be grateful if someone would explain using simple code to give me an initial push. I use the framework that I use. I read that express and socket.io cannot talk to each other directly.

I found a related link about this Socket.IO Authentication , but I did not quite understand how db transactions came from the answer received there.

+5
source share

All Articles