PaulY
NNovu
•Created by PaulY on 9/20/2023 in #💬│support
Team Notifications
Hey, Im looking to implement team notifications / Workflow
Users (have a userID) can be part of 0, 1 or multiple teams (teams have a team ID)
1) Trigger / send a notification to team ID creates notification for every user in its team about the user who triggered it
2) A users notification feed consists of all notifications from teams they belong to and any personal notifications.
3) A team member reading a team notification wouldn't mark as read for rest of team
E.g. Jhon Donating 50 coins to team blue. Jhon would get a "Thank you for donating 50 coins to team blue" notification. Users in team Blue would get a "jhon has donated 50 coins to your team Blue".
Using: NextJs 13 App directory & supabase
If anyone could send me in the right direction or to examples of similar concepts - ive found the nextJs 13 bidding application so far
Thanks
7 replies