This is the source code for a very simple chat example used for the Getting Started guide of the Socket.IO website.
Please refer to it to learn how to run this application.
You can also spin up a free Heroku dyno to test it out:
Or run it on Repl.it: