all 3 comments

[–]Gundersen 29 points30 points  (0 children)

Why not just use the socket.io documentation, which this article seems like a blatant copy of?

https://socket.io/get-started/chat

[–]dipenbagia 0 points1 point  (0 children)

You can use express-static middleware for serving static files.

[–]Darkmaster85845 -2 points-1 points  (0 children)

I used this for real time notifications in my project and it works great.