I have set up socket.io on my server.js but I have to use io instance in one of my route modules I have searched and found one but it didn\'t work.
@ server.js