JoeCode
User vs. Organization based domain modeling.
Apr 24, 2023I discovered a great article from the folks behind Bullet Train discussing the value of building out a team or organization based domain model.
Highlights:
Ask yourself: “What if a user wants their assistant to help them with this?”
- A User belongs to a Organization through a Membership.
- The Membership can have one or more Roles associated with it.
- Subscriptions belongs to the Organization, not a User.