Eva  Murphy

Eva Murphy

1625659320

NextJS Dashboard page with listing of videos using Auth token, Protected Routes 10

In this video, I will show you some of the enhancements that I have done to the Front end application. I added the redirection of the user to the Dashboard page after login. We are also checking the authentication of the user based on the token which is saved in the cookie using a HOC (Higher Order Component).

Then, we have architected our service in a way so that the Video service is setting the Authorization header with the token which the user will get during login for the user.

Frontend: https://github.com/amitavroy/video-reviews
API: https://github.com/amitavdevzone/video-review-api
App link: https://video-reviews.vercel.app

You can find me on:
Twitter: https://twitter.com/amitavroy7​
Discord: https://discord.gg/Em4nuvQk

#nextjs #auth token #protected routes #dashboard page

NextJS Dashboard page with listing of videos using Auth token, Protected Routes 10