What it does
As I say, it is a very basic implementation and not a fully-featured chat app. Features include:
- Send messages to everyone (no private messaging)
- See who else is connected
- Change your username (checks for username invalid, in use etc.)
- Username remembered in a cookie for next time (you get a guest username the first time you log in)
There is no logging or history of any kind; if you reload the page then you lose your chat history. And there's no private messaging or multiple channels.
Assuming you already have node.js installed, go to your checkout and type:
Then run the server with:
You should now have a server running on localhost:8000.