Install dependencies: npm install --save [email protected] socket.io
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:
Besides, the application is deployed on Now: https://socketio-chat-example.now.sh/