How to Build In-App Chat Rooms


I’m just starting my app building journey, but before I begin, I was wondering if someone could provide a high level recommendation.

How would I go about building a functionality that randomly sorts my users into chat rooms with a maximum number of 5 people per chat room.


You can make put them in groups in Firebase and once the limit is reached, create a new group.

Check out to figure out what you’d need to learn to build your idea!