Overview
Explore Next.js middleware and CORS implementation in this comprehensive tutorial for Next.js 13. Learn to apply middleware at the edge runtime and for route handlers, understand path matching and conditional matching, and implement rate limiting. Discover how to integrate CORS features without additional dependencies. Gain practical insights into enhancing your Next.js applications with advanced middleware techniques and cross-origin resource sharing capabilities.
Syllabus
Intro
Welcome
Starter Code
Quick follow-up on last lesson
Next.js Middleware
Middleware file
Matching paths
Matching with conditionals
Rate limiting middleware
Cors & Next.js 13
Applying Cors middleware features
Wrap up
Taught by
Dave Gray