Uploaded July 2023 | Updated December 2026, 3 hours ago
In this video, we'll look at NextJs middleware, how it works, and real examples and use cases that will help you to intercept requests and execute some code on the Edge runtime before the request is completed.
👉🏼 The Ultimate NextJs Course
🔗 hamedbahram.io/courses/nextjs
Chapters
0:00 Intro
11:40 Code examples
16:55 Outro
In this video, we'll look at NextJs middleware, how it works, and real examples and use cases that will help you to intercept requests and execute some code on the Edge runtime before the request is completed.
👉🏼 The Ultimate NextJs Course
🔗 hamedbahram.io/courses/nextjs
Chapters
0:00 Intro
11:40 Code examples
16:55 Outro







![Adding custom sign in & sign up pages [4/6]
Build you own custom sign in and sign up page using Clerks built-in UI components in NextJs.
👉🏼 Clerk auth
→ https://go.clerk.com/s1mVa9u
👉🏼 Learn Clerk
→ https://www.hamedbahram.io/courses/clerk Adding custom sign in & sign up pages [4/6]](https://i.ytimg.com/vi/QLboi7eR26s/mqdefault.jpg)


