I have existing NodeJS app in which content author can create and update content with frontend UI being Vue JS app and backend is express Mongodb stack. Currently there is no user login. I want to add a few admin users with defined roles (manually adding such users in mongodb) and then add login UI so that only logged in author can now create/update content. What existing node modules to use for this ? Secondly I want to have complete audit trail of activities by logged in users such as content X was changed to X1 by user A then X1 was changed by user B to X2 etc. What node modules I can use for this purpose? Or CMS can help in this regard?


In a user management system you have to take care of authentication and authorization.

While for authorization I think one could say there is an "accepted" go-to library for Node.js (Passport), I don't think there is a complete solution for what you need.

Actually, I was looking for the same thing a few weeks ago, and I found these projects:

I've never used any of these ones (yet), but I would try either Frame or Ooth. Aqua (formerly Drywall) seems no longer maintained, and Node-login is more a framework than a library.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.