开发者

How does node.js handle authentication/user systems?

开发者 https://www.devze.com 2023-02-28 16:50 出处:网络
I come from Django\'s framework, and it has built in \"user\" system.It takes care of all the registrations, passwords, logins, etc.

I come from Django's framework, and it has built in "user" system. It takes care of all the registrations, passwords, logins, etc.

Does No开发者_运维技巧de.js have this?


You may want to browse through the packages on the node package manager (npm) registry for NodeJS extension modules that can be combined to enable you to authenticate users, talk to external user management systems, etc. For example, the node-http-digest extension for HTTP digest authentication.


I reviewed the documentation and found no user management system.

node.js is a JavaScript server where-as django is an MVC with built-in socket utilities.


Try to look at connect and express node.js modules. Namely express (which is built on top of connect) can be "compared" with Django's funcionality.


I know this is an old thread but wanted to share this link in hopes it can help others who come across this question.

Checkout Drywall; A website and users system for Node.js

http://jedireza.github.io/drywall/

0

精彩评论

暂无评论...
验证码 换一张
取 消