Roles and Permissions / Role-based Access Control in React JS Node JS ✅ [ PART 12 MERN Stack ]

  Рет қаралды 13,625

SAIFI CODE

SAIFI CODE

Күн бұрын

Welcome To Saifi Code, In This Series We will make a React-redux shopping cart. We will try to make fully functional MERN Stack ecommerce website with react redux.
PART 12 contains :
How to create roles and permissions in react js nodejs and manage role-based access control in react js nodejs.
Discussed about role based authentication in react js and node js
Full Series Link :
• MERN Stack Ecommerce W... MY GITHUB LINK ---- github.com/Nai...

Пікірлер: 38
@NeebKaroriMaharaj01
@NeebKaroriMaharaj01 2 жыл бұрын
Bhot bhot bhot great mere bhai
@SaifiCode
@SaifiCode 2 жыл бұрын
thank u bro and welcome back after long time
@mountstudy6371
@mountstudy6371 2 ай бұрын
roledata me object type field se kaise find hua. Ye null nahi aaya kya.
@SaifiCode
@SaifiCode 2 күн бұрын
Check concept of high order array functions in js
@codewithadii
@codewithadii Жыл бұрын
yr m frontend react m likh rha hu r backend laravel m r mry pas 3 type ky user hai manager, admin, r users to kia teenu ky liye agr agr react app bnau r common api ka use kru
@SaifiCode
@SaifiCode Жыл бұрын
Yes bro you can use same api with passing params or data in body in the api.
@World_information5568
@World_information5568 2 жыл бұрын
Thank you Bhai ❤️❤️❤️😊❤️
@SaifiCode
@SaifiCode 2 жыл бұрын
welcome
@ameymore4598
@ameymore4598 Жыл бұрын
Hello Can you show how to run this project on my system. I download both ecom node ecom react. npm start. i am not able to login or register. database is created
@SaifiCode
@SaifiCode Жыл бұрын
Please run npm install also and you can signup and login easily
@ameymore4598
@ameymore4598 Жыл бұрын
@@SaifiCode I did npm install already but database won't get install. The message of yours DB Connected never appear. Database port link is also right. But DB never gets connect and tables are not created coz of that. I think project files are not supported anymore.
@SaifiCode
@SaifiCode Жыл бұрын
Project files are supported
@SaifiCode
@SaifiCode Жыл бұрын
Are you using cloud link of mongodb or installed on your device
@SaifiCode
@SaifiCode Жыл бұрын
You can message me on insta i will hekp you to run the project
@World_information5568
@World_information5568 2 жыл бұрын
Safi Bhai ya intermediate level ka project hai na?
@SaifiCode
@SaifiCode 2 жыл бұрын
bhai ye project beginners se advanced level tak complete karunga jaisa hum industry level pe code karte hain
@World_information5568
@World_information5568 2 жыл бұрын
@@SaifiCode bht shukerya ❤️ is project par aur kitni videos anay wali hain?
@SaifiCode
@SaifiCode 2 жыл бұрын
@@World_information5568 4 se 5 videos
@World_information5568
@World_information5568 2 жыл бұрын
@@SaifiCode Ok Safi bhai bht shukerya ❤️ e-commerce k bad ager ap ko time Mila to ek project figma to react bnaya ga .
@reybaiqi
@reybaiqi 2 жыл бұрын
Thakns bro
@SaifiCode
@SaifiCode 2 жыл бұрын
welcome bro
@malikbhai2285
@malikbhai2285 2 жыл бұрын
Sir, Kuch kar den..catogery ka.....wo ni ho rhi....jab ham catogery admin pannel se add kare ge...to us ka drop down bi automatic ban jana chye...k next time jab ham catogery add kare to us drop down se us catogery ko select kar to wo addd ho jaye
@SaifiCode
@SaifiCode 2 жыл бұрын
filters and category ka video bhi zaldi hi aa jayega abhi payment gateway pe work kar rha hu
@malikbhai2285
@malikbhai2285 2 жыл бұрын
@@SaifiCode Thank you Sir...Jaldi jaldi banoo....or rich text editor or ya koi or editor bi addd ker dena..
@SaifiCode
@SaifiCode 2 жыл бұрын
@@malikbhai2285 ok
@malikbhai2285
@malikbhai2285 2 жыл бұрын
@@SaifiCode es ka matlab k ap ab mere project per kaam nii kare ge?
@reybaiqi
@reybaiqi 2 жыл бұрын
When is the next video upload?
@SaifiCode
@SaifiCode 2 жыл бұрын
what should i cover next in this series , working on next concepts
@reybaiqi
@reybaiqi 2 жыл бұрын
maybe you can make the redux, payment and admin panel
@siyaramrauniyar6929
@siyaramrauniyar6929 10 ай бұрын
Multi Role kisi ek user ko kaise dete hai.
@SaifiCode
@SaifiCode 10 ай бұрын
We have user types in user table and roles linked to user in roles table so that we can assign any role to any user type
@nolollipop
@nolollipop 2 жыл бұрын
source code link?
@SaifiCode
@SaifiCode 2 жыл бұрын
check the github link bro github.com/NaimuddinNaimuddin
@nolollipop
@nolollipop 2 жыл бұрын
Saifi thanks. Saifi One more question Suppose I have 3 table Table 1 user{ name:{ type:String, required:true, }, role: { type:Schema.Types.ObjectId, required:false, ref:"Role", }, } Table 2 role{ name:{ type:String, required:true, }, role: [{ type:Schema.Types.ObjectId, required:false, ref:"Permission", }], } Table 3 permission{ name:{ type:String, required:true, } } my query => User.find().populate('role') Problem It just shows me all data of uses and roles I also need to populate permissions not only its objectID. Could you tell me in this case what will be the query
@SaifiCode
@SaifiCode 2 жыл бұрын
we need to run lookup to join tables in that case only using ids other table data can be fetched with populate
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
"Идеальное" преступление
0:39
Кик Брейнс
Рет қаралды 1,4 МЛН
Managing User Roles - NodeJS Authorization
16:33
PedroTech
Рет қаралды 149 М.
Why aren't you using Fastify? Or Koa? Or NestJS?
9:58
Maximilian Schwarzmüller
Рет қаралды 75 М.
How to Manage User Roles in NextJS / NodeJS
12:11
Josh tried coding
Рет қаралды 123 М.
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 259 М.