This is the fourth of a five-part series on building a Slack clone using Meteor. The aim of these tutorials are not just for you to blindly follow instructions, but it’s our hope that you’ll understand the thought process and reasoning behind the architecture.
We have already dealt with publish and subscribe functions before when dealing with security, but now we will use the same logic to create different channels (or rooms) and private messaging.
We will also take a look at using sessions to keep track of which channel we are on. Lastly, we will explore using a router to allow us to permalink the channels.