Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Next.js Route Handlers - API Routes in Nextjs 13

Dave Gray via YouTube

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

Reviews

Start your review of Next.js Route Handlers - API Routes in Nextjs 13

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.