| 1 | What is a route handler in the Next.js App Router, and how do you create one? Next.js › Route Handlers (API Route.js) | Next.js | Route Handlers (API Route.js) | Beginner |
| 2 | How do you read query parameters and the request body inside a route handler? Next.js › Route Handlers (API Route.js) | Next.js | Route Handlers (API Route.js) | Intermediate |
| 3 | How do you access dynamic route parameters inside a route handler defined with a dynamic segment? Next.js › Route Handlers (API Route.js) | Next.js | Route Handlers (API Route.js) | Intermediate |
| 4 | How do you set custom response headers, such as CORS headers, in a route handler to allow requests from a different domain? Next.js › Route Handlers (API Route.js) | Next.js | Route Handlers (API Route.js) | Advanced |
| 5 | How would you implement rate limiting inside a route handler to prevent abuse of a public API endpoint? Next.js › Route Handlers (API Route.js) | Next.js | Route Handlers (API Route.js) | Advanced |
| 6 | What are API routes in Next.js and why would you use them? Next.js › API Routes | Next.js | API Routes | Beginner |
| 7 | How do you handle different HTTP methods such as GET, POST, and DELETE within a single API route file? Next.js › API Routes | Next.js | API Routes | Intermediate |
| 8 | How do you specify which runtime a specific route or middleware should use in Next.js? Next.js › Edge Runtime vs Node.js Runtime | Next.js | Edge Runtime vs Node.js Runtime | Intermediate |
| 9 | How do you submit a form directly to a server action in Next.js without writing any client side JavaScript? Next.js › Form Handling & Validation in Next.js | Next.js | Form Handling & Validation in Next.js | Beginner |
| 10 | What is a server action in Next.js, and what problem does it solve? Next.js › Server Actions & Mutations | Next.js | Server Actions & Mutations | Beginner |