Socket.io chat example http://socket.io/get-started/chat/
Broadcast a message to connected users when someone connects or disconnectsAdd support for nicknamesDon’t send the same message to the user that sent it himself. Instead, append the message directly as soon as he presses enterAdd “{user} is typing” functionalityShow who’s online- Add private messaging
npm install
and npm start
:
http://localhost:3000/react
for react UIhttp://localhost:3000/jquery
for jquery UI
TODO
- hardcoded address!
- add rooms support (to allow multiple rooms + private chats)
- add redis