Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 905 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 905 Bytes

poc-socketio

Proof-of-Concept application to learn about socket.io and real-time messaging applications. This is part of my "learn a new thing every month" project.

Started with following the tutorial on http://socket.io/get-started/chat/ and then implemented some of the exercises. It's quite rudimentary and needs lots of improvements, like sending events to the client instead of formatted messages. Might do it when I have more time later.

Use

Start server: node index.js

Implemented chat commands:

  • /nick [username], e.g. /nick lee: Change username
  • /users: show list of all online users
  • [message], e.g. hello!: Broadcast message

Useful links