this is chat example using nodejs with socket.io
npm module install:
console$ cd /path/to/project
console$ npm install
- start socket.io server
using port 50000
console$ npm run socket
- start simple web server
console$ npm run web
using port 8000
- open your browser and connect to
localhost:8000
[node.js] 실시간 멀티채팅 구현하기!: http://blog.puding.kr/156