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.
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.