I have an app with express backend and vue frontend, I have implemented use authentication.
Now I want to restrict certain users from access certain routes when registering the user.
I have created a default user with admin email as the only person allow to make crud operations, but I don’t think that’s the best way to go about it.