Chat module using Redis and MongoDB
Experimental chat system module using Redis for pub/sub, persisting to MongoDB.
Only streams are exposed - this module does not decide how the client receives the data.
- Assumes there's a channel collection with all the channels.
This module differentiates channels by their
- Assumes there's a user collection with all users.
Thus, "anonymous" users are not supported (give them their own
_id). This module differentiates channels by their
- Requires (or rather recommends) an entirely separate DB for storing channels.
There's a collection per channel, with each
_idbeing the name of the channel.