Team-Login

Hello Community
I’m building a “real-life” gaming app, in which teams have their score and a “group-chat”.
Now my question can some one help me on how to build a login within the login. I’d like to register a new team or login to a specific team which was registred by another member, so they can have a chat only visible to their team-members and a scoreboard with only their members visible.

Thank you and cheers :slight_smile:

So have you tied your users to some sort of a “team ID”?

From that, in your chats table, you can write that team ID value to a column, and only show that to users who have that ID in their profile.

Same approach for the scoreboard, maybe rolling up all relevant values in the users table, and have a collection that filters by team ID is signed-in user’s team ID.

Perfect, exactly what I needed, thanks very much :slight_smile:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.