Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/philmod/node-example-websocket

Websocket server for socket.io chat example
https://github.com/philmod/node-example-websocket

Last synced: about 1 month ago
JSON representation

Websocket server for socket.io chat example

Awesome Lists containing this project

README

        

# node-example-websocket

Example taken from Socket.IO [chat-example](https://github.com/rauchg/chat-example) repository.

This is the Websocket server that serves all the messages.

Redis is used to link all the websocket servers together, so a message can be broadcast to all users.
`REDIS_HOST` and `REDIS_PORT` environment variables define where live the Redis server.