Users can sign up and sign in - let's now use that to ensure that certain routes are only accessible by authenticated users. Time for more JWT action in our Node.js REST API.
----------
Learn Node.js in our comprehensive 30h+ course: https://acad.link/nodejs
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/12-auth-protect-routes
----------
• You can follow Max on Twitter (@maxedapps).
• You can also find us on Facebook.(https://www.facebook.com/academindchannel/)
• Or visit our Website (https://www.academind.com) and subscribe to our newsletter!
See you in the videos!
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.