Adding an ADMIN USER | React and Node.js Ecommerce

preview_player
Показать описание
Let's add an admin and protect 'em routes/endpoints

Sections:
00:00 - intro
01:10 - isAdmin property
03:36 - auth middleware function
09:16 - isAdmin middleware function
11:44 - protecting API endpoint
15:05 - including token in the headers of the request
19:45 - protecting the dashboard route

✨ Join My Discord Server

Buy Me A Coffee 🤑

SUPPORT MY CHANNEL

GET IN TOUCH:

Disclaimer: This video is not sponsored
Рекомендации по теме
Комментарии
Автор

Great explanation, seriously your work is soo good but dunno why it's soo underrated. Helped me a lot . Thanks

ddhruvarora
Автор

Nice work
Can you make a detail page for each product

tmomar
Автор

Thanks You .... and Please can You make Edit Profile

eslamhamed
Автор

are you still here? I have a question related to this

ddkwymi