Manage User Roles In Node.js / MongoDB -  Backend api

Manage User Roles In Node.js / MongoDB - Backend api

CODING ACADEMY

2 года назад

12,822 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mihir Lakhamje
Mihir Lakhamje - 01.06.2023 00:00

i have question
in my application i want to register admin without any endpoint but after registration of admin, it can able to login through endpoint /login. How should i do?

Ответить
Thithi_Dev
Thithi_Dev - 25.01.2023 18:39

Great! you explained very well.

Ответить
Cameron Thain
Cameron Thain - 21.01.2023 01:38

how do you make it so the admin dashboard is only accessible by admin

Ответить
Aarón Rodríguez
Aarón Rodríguez - 14.10.2022 15:36

thank you!

Ответить
Technical Bro
Technical Bro - 25.09.2022 19:52

thank you sir i was very confused but this helped me alot.
god bless you

Ответить
Taner ERKAN
Taner ERKAN - 31.08.2022 23:33

if wanna more multi role how can be routing. for example admin mod user if anyone login mod then redirect to mod dashboard

Ответить
Taner ERKAN
Taner ERKAN - 28.08.2022 14:10

Sir .env file doesnt exist its could be understable so , what can be process.env.EXPIRE_TOKEN area?

Ответить
Oussama Nouma
Oussama Nouma - 10.08.2022 15:31

i was looking for this specific tutorial i love u mate thanks a lot !!!

Ответить
JJ
JJ - 06.08.2022 23:50

nice explaination! just wondering in postman, after sign in, and then change api to create category, postman can remember the sign in information? and how to sign in as admin by the way?

Ответить
Dip Sapkota
Dip Sapkota - 30.06.2022 16:24

Sir please provide the GitHub source

Ответить