In this video we have implemented route protection in our node.js express server for our role based authentication application.
Github repository: - https://github.com/nandymandy1/role_b...
We have created role based authentication with JWT and passport for admins and users making the application secure for the users and admins.
Packages used:-
Passport
Express
Node.js
Mongoose
MongoDB
Passport
Jsonwebtoken