Guide
Introduction
What happens?
Summary
Set up the main project directory
Install dependencies
Directory structure
Create a server in ...
For further actions, you may consider blocking this person and/or reporting abuse
I apologize in advance for pointing out a typo in your code under the section titled - Create a server in index.js:
should probably be:
Thanks Ameet for pointing that out! Changed
Great explanation. Waiting for next part.
Thanks!
Why are you using var?
As this is a newbie article on socket.IO, I wanted to make it accessible to all and focus on socket.IO, instead of explaining variable scope and hoisting so used the more familiar 'var'. In the socket.IO project I will use let and const