YoVDO

Next.js Route Handlers - API Routes in Nextjs 13

Offered By: Dave Gray via YouTube

Tags

Next.js Courses Web Development Courses

Course Description

Overview

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

Related Courses

Build a Full Stack Twitter clone with Next.js
Coursera Project Network via Coursera
Next JS with React Hooks - Building SSR React Applications
Udemy
End to End React with Prisma 2
Udemy
Build a Server Rendered Website with Next.js
Coursera Project Network via Coursera
Next.js 14 & React - The Complete Guide
Udemy