Saturday, 13 May 2017

User permission in Express Rest API and Mongoose

I'm trying to create a rest api project with express and mongodb but I couldn't find a good solution for the role/permission model, should I embed it right into the user model or separate it to another model and is there any good way to implement the role/permission with rest api?



via Le Dinh Nhat Khanh

No comments:

Post a Comment