Build straightforward API with Next.js API routes

InstructorXiaoru Li

Share this video with your friends

Send Tweet

The "API routes" in Next.js are Node.js serverless functions that we can easily incorporate into our app.

In this lesson, we will learn how to write API request handlers, and how to set up dynamic API routes. After this lesson, you'll be able to create simple API endpoints with Next.js ready to be used both in our frontend code within Next.js itself or for other general purposes.