Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use Redis and Socket.io for user authentication

I am learning to use redis and socket.io considering the number of advantages they have. In particular, I am trying to use them for user authentication too. I would appreciate if anyone explains with a simple code to give me an initial push. The framework I am using is express. I read that express and socket.io cant talk to each other directly.

I found a related link about this Socket.IO Authentication but I didnt quite understand how the db transactions are happening from the answer given there.

like image 727
Kamal Reddy Avatar asked Nov 14 '22 06:11

Kamal Reddy


1 Answers

See http://www.danielbaulig.de/socket-ioexpress/

like image 75
pyrotechnick Avatar answered Nov 16 '22 18:11

pyrotechnick