Protected routes in Nextjs 15 | Protect Routes with Middleware Nextjs

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

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

  • @pospot2817
    @pospot2817 22 วันที่ผ่านมา +3

    For anyone using the src folder structure the middleware.js/ts file should be inside the src not in the root

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

    Thank you so much for your valuable information about protected route ❤. This is a awesome and informative video 💯

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

    Awesome bro😍

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

    this is a good example of protected routes in a middleware. There's one downside on Nextjs Middleware and is that if you need to check other things there like using next-i18n-router package to handle translations then you need to choose one or the other. Would you create a video showing how to do something like that? How to use the same response? I could not find a way to make this work to be honest

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

    is there any source code of it ? just for reference

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

    good work, bravo