Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore Next.js Route Handlers, which replace API Routes in Next.js 13, in this comprehensive 21-minute tutorial. Learn how to create GET, POST, and other routes for full-stack applications, and retrieve parameters sent with those requests. Dive into topics such as creating example API endpoints, using NextResponse, handling GET parameters with an echo endpoint, implementing dynamically evaluated routes, and setting up a POST Route Handler for forms. Gain practical insights into building robust server-side functionality for your Next.js applications through clear explanations and hands-on examples.
Syllabus
Intro
Welcome
Note on src directory
New Route Handlers for API Routes
Example API endpoint
NextResponse
GET Params & echo endpoint
Dynamically Evaluated Routes
POST Route Handler for a Form
Taught by
Dave Gray