Designing a User Model for Multiple Roles (Without Losing Your Mind)
You know that moment when your app suddenly needs more kinds of users?
You start with a simple User model — just name, email, password.Life is peaceful. Everything makes sense.
Then your PM drops the bomb:
“We need admins, vendors, and customers.And...
systemdesignbykolar.hashnode.dev5 min read