node.js中的用户管理系统 [英] User Management System in node.js
问题描述
大多数Web应用程序对用户管理的要求相当普遍:
The requirements of most web applications regarding the management of users are fairly common:
-
用户注册自己
A user registers himself
收到一封确认电子邮件
请求忘记的密码
管理员将角色分配给用户,等等.
An admin person assigns a role to the user, etc.
是否存在一个已经实现了流程并且可以自定义的node.js/express.js项目?
Is there a node.js/express.js project that has already implemented the flow and is customizable?
Passport.js允许应用程序仅进行身份验证,而不能执行上面列出的功能.我看过石膏板.它使用MongoDB. 我正在寻找一个可以让我自定义用户存储机制的模块,以便可以使用自己的MySQL DB来存储用户.
Passport.js allows the application to only authenticate but not perform the functions listed above. I have seen Drywall. It uses MongoDB. I am looking for a module that lets me customize the user storage mechanism as well, so that I can use my own MySQL DB to store users.
ASP .NET在成员资格模块中提供了此类功能,还使开发人员可以完全自定义它.我们有一些Node.js的东西吗?
ASP .NET provides such features in the membership module and also lets developers customize it completely. Do we have something for Node.js?
推荐答案
我使用 sails框架,并且有一些软件包与风帆融为一体.为了进行身份验证,我找到了以下软件包: https://github.com/kasperisager/sails-generate-auth ,也许对您有帮助.
I use sails framework and there are some packages that integrates with sails. For authentication i found this package: https://github.com/kasperisager/sails-generate-auth, maybe it help you.
这篇关于node.js中的用户管理系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!