Simply chat application based on Node.js, Express & Socket.io
Live demo here
npm install
npm run build
node index.js
Server will run on port 3000. Go to web browser on page localhost:3000
- check on login if selected user's name isn't already taken,
- display info if user's name already exist,
- disable empty login,
- sort user's name in alphabetical order on the users list,
- group messages to user if send one by one from the same user,
- newest message is put on the bottom of the messages list,
- auto scroll messages list if messages list is scrolled to the bottom of itself, if scroll isn't on the bottom then autosroll is disabled