Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/philmod/node-example-websocket
- Owner: Philmod
- Created: 2016-07-19T03:06:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-29T23:12:07.000Z (about 7 years ago)
- Last Synced: 2024-10-28T00:19:10.148Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.