Answer the question
In order to leave comments, you need to log in
How can I implement registration on javascript/mongodb/express.js without using php?
Explain, please, mechanisms of registration and session. I use express.js and mongodb and find articles with php/mysql
Answer the question
In order to leave comments, you need to log in
If you just need sessions, then there is a ready-made middleware https://github.com/expressjs/session , an example in readme.
passportjs.org is a ready-made solution for authorization / authentication on express (and not only), there are enough examples.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question