NextJs 13 API routes in `app` folder | NextJs 13 series @hamedbahram
NextJs 13 API routes in `app` folder | NextJs 13 series  @hamedbahram
Uploaded February 2023 | Updated December 2026, 3 hours ago
In this video, we'll look at the new route handlers in the app folder, replacing the API routes in the pages directory. We'll review the new metadata API and the `next/font` package.

👉🏼 The Ultimate NextJs Course
🔗 hamedbahram.io/courses/nextjs

👉🏼 Source code (checkout the 13.2 branch)
🔗 github.com/HamedBahram/nextjs-13.git

👉🏼 NextJs 13 video playlist
🔗 youtube.com/watch?v=L5JU1oR29TM&list=PLwTWj-bA3SMC4fGQhsdYKJQErd0MKHNfD

👉🏼 next/font video
🔗 youtube.com/watch?v=D5oMzgy0h98

CHAPTERS

0:00 Intro
0:35 Release note
2:00 Route handlers
3:45 Create a new project
6:00 Anatomy of route handlers
9:30 Create new API endpoints
10:24 Dynamic API routes
11:34 Search parameters
15:00 Add route.js in any segment
17:10 Migrating our API endpoints
25:20 Mutations
28:10 The new metadata API
34:00 next/font package
38:08 Outro
NextJs 13 API routes in `app` folder | NextJs 13 seriesProduct-Led Growth ft Steven Tey from DubClerks New CLI: Add Auth to Next.js Without Leaving Your TerminalStatic vs Dynamic Rendering in NextJs 13The easiest way to add videos in NextJsUsing TypeScript in NextJs 13Blurred placeholder for dynamic images in NextJsNextJs 13 Deep dive - Suspense, error boundaries, static vs dynamic rendering and moreThe easiest way to build an AI chatbot in NextJsSend Newsletter Emails Using Resend BroadcastsSync Clerk data to your app with webhooks [S2 E4]Stop Shipping AI Slop: CodeRabbit Reviews Your PRs Before You Merge
Hamed Bahram |

NextJs 13 API routes in `app` folder | NextJs 13 series

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER