There should be two models Users and User_Roles. First time when user registers, the User_Roles table should contain value as admin for that user and for rest of them it should be different. with support of node.js?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Click below to sign up and get $200 of credit to try our products over 60 days!