LucasHFS / co-budget-api

0 stars 0 forks source link

Invite other Users to budgets #4

Open LucasHFS opened 1 year ago

LucasHFS commented 1 year ago

This could involve the creation of an Invitation model, incorporating fields for the sender, receiver, associated budget, and status indicator, among other requirements.

When a user initiates an invitation, it could generate a new Invitation record, initially marked as "pending." From there, the invited user has the option to either accept or decline the invitation. If accepted, the status transitions to "accepted," granting the invited user access to the shared budget. On the flip side, if declined, the status shifts to "declined", and the system should notify the users about each step.