nunofaria11 / socket.io-chat

A take on the "Get started" chat on Socket.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Socket.io chat example http://socket.io/get-started/chat/

  • Broadcast a message to connected users when someone connects or disconnects
  • Add support for nicknames
  • Don’t send the same message to the user that sent it himself. Instead, append the message directly as soon as he presses enter
  • Add “{user} is typing” functionality
  • Show who’s online
  • Add private messaging

npm install and npm start:

  • http://localhost:3000/react for react UI
  • http://localhost:3000/jquery for jquery UI

TODO

  • hardcoded address!
  • add rooms support (to allow multiple rooms + private chats)
  • add redis

About

A take on the "Get started" chat on Socket.io


Languages

Language:JavaScript 66.4%Language:HTML 33.6%