Node.js & Express Role-Based Authorization Tutorial | How to Manage User Roles and Permission

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025

ความคิดเห็น • 82

  • @DipeshMalvia
    @DipeshMalvia  4 หลายเดือนก่อน +4

    Guys, if the video is helpful to you or you learned something than please appreciate and ADD COMMENT hit the LIKE and SUBSCRIBE button and help this channel to GROW
    Checkout the React Playlist - th-cam.com/play/PLTP3E5bPW7944Ec1lfXzavqRHzxY5FigD.html
    Checkout the JS playlist - th-cam.com/play/PLTP3E5bPW795Nx9KUPCdHNsh7uuyqe9Mi.html

  • @programmingwithbonney6024
    @programmingwithbonney6024 7 วันที่ผ่านมา +2

    One of the best videos here on TH-cam

  • @jayantissar
    @jayantissar 17 วันที่ผ่านมา +1

    i was able to follow this video using honojs , prisma and postgres. the level of explanation was very good thank you for your hard work

  • @PradeepRaj-fo5dr
    @PradeepRaj-fo5dr หลายเดือนก่อน +3

    This tutorial is excellent and you will never forget the concept after watching it. Thank You Brother👍

  • @shahhussain5563
    @shahhussain5563 4 หลายเดือนก่อน +8

    Very well explained. Glad to see you back.

    • @DipeshMalvia
      @DipeshMalvia  4 หลายเดือนก่อน

      Hey, thanks!

  • @IAM_The0ne
    @IAM_The0ne 3 หลายเดือนก่อน +1

    Thank you and please continue posting back end tutorial like this, i followed all your courses, and you helped me a lot understanding, i also use what i learnd from you in my own project, thank you again

  • @CodeNCoffe
    @CodeNCoffe 2 หลายเดือนก่อน +4

    from beginning to the end this video is really awesome...❤ Really a nice job!

    • @DipeshMalvia
      @DipeshMalvia  2 หลายเดือนก่อน

      Thank you so much 😀

  • @chmod666-p
    @chmod666-p 2 หลายเดือนก่อน +3

    Amazing tutorial. For who doesn't want to install extra package for update the server while changing, instead nodemon you can create a script like he did "dev": "node --watch index.js", that it will watch for the changes and do the same as nodemon.

    • @DipeshMalvia
      @DipeshMalvia  2 หลายเดือนก่อน

      node --watch is a good option indeed. Thanks for the comment.

  • @musafirzish8321
    @musafirzish8321 หลายเดือนก่อน

    To be very honest it is the best video for authentication .

  • @swarnabhamajumder9561
    @swarnabhamajumder9561 4 หลายเดือนก่อน +4

    Bohut din seh gayab ho sir we want more full stack projects. This time please teach us how to integrate typescript in our backend. Btw thank you as always for providing such videos for free❤

    • @DipeshMalvia
      @DipeshMalvia  4 หลายเดือนก่อน +2

      Kya kru Sir, life hi itni busy chal rahi hai. Koshish krete hai aur aache videos banane ki. Support banaya rakhe apna.

  • @JavedKhan-kc9rp
    @JavedKhan-kc9rp 3 วันที่ผ่านมา

    Awesome tutorial 👌

  • @techdular88
    @techdular88 4 หลายเดือนก่อน +1

    Keep it up sir ji , its helpful for project understanding and interview preparation as well to clear the deep concept.

    • @DipeshMalvia
      @DipeshMalvia  4 หลายเดือนก่อน

      Thanks and Keep watching!

  • @pashya7009
    @pashya7009 4 วันที่ผ่านมา

    Thank you so much sir It really helped me a log

  • @CodeWithBehram7497
    @CodeWithBehram7497 3 หลายเดือนก่อน

    The tutorial i was looking for... 🎉 thanks alot.

  • @RahulAryan-m8n
    @RahulAryan-m8n 4 หลายเดือนก่อน +2

    Thank you sirjee for nice explanation ❤ very simple explanation awesome

    • @DipeshMalvia
      @DipeshMalvia  4 หลายเดือนก่อน

      Thank you, keep watching!

  • @ManojKumar-uj4ju
    @ManojKumar-uj4ju หลายเดือนก่อน +1

    Thank you I finished this project

    • @DipeshMalvia
      @DipeshMalvia  หลายเดือนก่อน

      Great job! Keep it up.

  • @rohitkushwah9688
    @rohitkushwah9688 3 หลายเดือนก่อน +1

    Very nice video Dipesh❤

    • @DipeshMalvia
      @DipeshMalvia  3 หลายเดือนก่อน

      Thanks Rohit

  • @Leesdjo
    @Leesdjo 4 หลายเดือนก่อน +1

    Thank you. Learn new thing here.

    • @DipeshMalvia
      @DipeshMalvia  4 หลายเดือนก่อน

      Glad it was helpful!

  • @LucasBarrosds
    @LucasBarrosds 2 หลายเดือนก่อน +1

    thanks, bro!!!!

    • @DipeshMalvia
      @DipeshMalvia  2 หลายเดือนก่อน +1

      Good luck!

  • @DemoDemo2-b5e
    @DemoDemo2-b5e 17 วันที่ผ่านมา

    Your way of explanation is excellent, but I have a doubt.
    Here, you're using static roles like admin, manager, and user. If I want to use dynamic roles, meaning I want to add a new role, like HR, without touching/modifying the middleware code, how can I achieve that?

  • @mdsafikulislam9113
    @mdsafikulislam9113 4 หลายเดือนก่อน +4

    Thanks! Please make a Industry Standard Project.

  • @regilearn2138
    @regilearn2138 4 หลายเดือนก่อน +3

    Great content, can you please teach us how to use redux toolkit and Tanstack query together in one project

    • @DipeshMalvia
      @DipeshMalvia  4 หลายเดือนก่อน +1

      Yes, it is a good topic. I will take a note. Thanks

  • @letsspeakwithlearnenglish6371
    @letsspeakwithlearnenglish6371 4 หลายเดือนก่อน +2

    Great!! Sir please make Full stack banking project

    • @DipeshMalvia
      @DipeshMalvia  4 หลายเดือนก่อน

      Thanks! noted

  • @Rohitkumar-xy7bj
    @Rohitkumar-xy7bj 4 หลายเดือนก่อน +1

    Thank you sir.

    • @DipeshMalvia
      @DipeshMalvia  4 หลายเดือนก่อน

      Most welcome

  • @IshikaKusum
    @IshikaKusum 4 หลายเดือนก่อน +6

    School management system project please in Mern with role based authentication, role based crud

  • @EddieCode
    @EddieCode 3 หลายเดือนก่อน +1

    great tutorial , thank you Dipesh

  • @mdsalimhossain8439
    @mdsalimhossain8439 4 หลายเดือนก่อน +1

    Thank You

    • @DipeshMalvia
      @DipeshMalvia  4 หลายเดือนก่อน

      You're welcome

  • @bhargavsolanki6386
    @bhargavsolanki6386 3 หลายเดือนก่อน +2

    so you have used MVC architecture

  • @cuongnguyenchi5097
    @cuongnguyenchi5097 4 หลายเดือนก่อน +1

    Nice❤

  • @samiranroyy1700
    @samiranroyy1700 19 วันที่ผ่านมา

    i saw a video where it said, try not to make clone projects ,try to make their unique feature like, searching recomandation system or like (like in uber) have to go from one place to another place including traffic...how to do build this

  • @mdsafikulislam9113
    @mdsafikulislam9113 หลายเดือนก่อน

    How do we use the refresh token mechanism for handling access token expiration?"

  • @Aaravpariayusaket
    @Aaravpariayusaket 23 วันที่ผ่านมา

    how you created userSchema in moongoo db, how we can create same in mysql or mssql?

    • @DipeshMalvia
      @DipeshMalvia  22 วันที่ผ่านมา

      You have use some ORM like prisma or schema validation. You can take reference from this video - Build a CRUD Rest API with Node.js, Express, PostgreSQL & Docker
      th-cam.com/video/TYB-Lz8YGFk/w-d-xo.html

  • @mrlectus
    @mrlectus 4 หลายเดือนก่อน +8

    Using require in 2024 is wild

    • @habibosaye
      @habibosaye 3 หลายเดือนก่อน

      Haha, I get so confused too, import syntax has been out for ages now.

    • @programmingwithbonney6024
      @programmingwithbonney6024 7 วันที่ผ่านมา

      Import right?

  • @thalabala8931
    @thalabala8931 4 หลายเดือนก่อน +1

    Sir is this will work for next js

    • @DipeshMalvia
      @DipeshMalvia  4 หลายเดือนก่อน

      It should work.

    • @thalabala8931
      @thalabala8931 3 หลายเดือนก่อน

      @@DipeshMalvia thank u

  • @gnanavelpandian7756
    @gnanavelpandian7756 4 หลายเดือนก่อน +1

    What is the name of the 4th icon in the thumbnail?

    • @DipeshMalvia
      @DipeshMalvia  4 หลายเดือนก่อน +1

      @@gnanavelpandian7756 thunder client

    • @legend_749
      @legend_749 4 หลายเดือนก่อน +1

      Thunderclient

  • @odisvybz
    @odisvybz 3 หลายเดือนก่อน

    i'm following your code, but when i try to register a new user it throws back error, Something went wrong, please could i be doing wrong. i need your assistance

  • @walidbahij-o7r
    @walidbahij-o7r 3 หลายเดือนก่อน

    hey dipesh can i re use this method on sql database with seqeulize on a node.js app

  • @aryzen2781
    @aryzen2781 2 หลายเดือนก่อน

    can you do one on ABAC?

    • @DipeshMalvia
      @DipeshMalvia  2 หลายเดือนก่อน

      @@aryzen2781 : Yes, I will check more on this topic ? Thanks for sharing it.

  • @letsspeakwithlearnenglish6371
    @letsspeakwithlearnenglish6371 2 หลายเดือนก่อน

    For this project project. You have already done the backend. Also make frontend. Please

  • @devbharath2757
    @devbharath2757 3 หลายเดือนก่อน

    Bro, please start a nodejs with MySQL series most company are asking now

  • @1_birr375
    @1_birr375 19 วันที่ผ่านมา

    HOW TO KNOW JWT SECREAT KEY

    • @1_birr375
      @1_birr375 19 วันที่ผ่านมา

      I USED AUTOMATIC GENERATORE:- const crypto = require("crypto");
      const secretKey = crypto.randomBytes(32).toString("hex");
      module.exports = { secretKey }; with out .env file

  • @kunal-jn6ku
    @kunal-jn6ku 3 หลายเดือนก่อน

    Bhai Whitelist kese krenge?

    • @DipeshMalvia
      @DipeshMalvia  3 หลายเดือนก่อน

      @@kunal-jn6ku kya whitelist krna hai…

    • @kunal-jn6ku
      @kunal-jn6ku 3 หลายเดือนก่อน +1

      @@DipeshMalvia MongoDB ip address whitelist ni horha tha but after updating node package whtielist hogya. Thanks for care

    • @anjitkumaryadav768
      @anjitkumaryadav768 15 วันที่ผ่านมา

      Btaiye sir ip kaise whitelist kre?

  • @mdshamirulislam2262
    @mdshamirulislam2262 4 หลายเดือนก่อน

    how to personally contact with you

  • @meditationalmusic610
    @meditationalmusic610 3 หลายเดือนก่อน +1

    It's a waste of time to show authentication and authorization implementation. You could've only shared last 6 minutes and it could've sufficed.

    • @DipeshMalvia
      @DipeshMalvia  3 หลายเดือนก่อน +2

      @@meditationalmusic610 : I have put the timestamp so you can jump to any topic directly. I cannot assume anyone who will watch the video can directly follow the last 6 minutes.

  • @m.zulqarnainchohan7773
    @m.zulqarnainchohan7773 หลายเดือนก่อน

    frontend please

  • @MrCoder-u9y
    @MrCoder-u9y 4 หลายเดือนก่อน +1

    informative, but can be improved sir! with a better example!

    • @DipeshMalvia
      @DipeshMalvia  4 หลายเดือนก่อน

      Noted! Thanks for the feedback

  • @pumpkin2228
    @pumpkin2228 4 หลายเดือนก่อน

    41:50

  • @patelmonil7649
    @patelmonil7649 4 หลายเดือนก่อน

    casl