Nodejs CMS Tutorial For Beginners - Part 18 - Register User

preview_player
Показать описание
In this video, we learn how to register a new user into the database and do some basic validations at the backend.
Рекомендации по теме
Комментарии
Автор

Your tutorial was very helpful to me, can u pls post the electron js related tutorial

TechDevWizard
Автор

can i ask about mongodb .... when i write data in field (register page) and data send to mongodb but first make new collection automatically and then save data

my question is the collection of name is users ( for register ) and where you write this code ?
because i'm looking for ( users ) in codes i didn't find

and thank you for videos

almshakeel
Автор

Your tutorials are very helpful. but in delete category routes how to give a call to ajax to redirect to /admin/category? I get only JSON object. deleteCategory: (req, res) => {
//routes


//controller

.then(updated => {
res.status(200).json({url: "/admin/category});
}).catch(error => {
res.status(400);
});
} // ajax code is same like yours. but i could't get response data in ajax. I get only json data in browser only.


How to solve this sir?

realmusclegod