Instruction: Describe how API routes are created and used in Next.js.
Context: API routes allow Next.js applications to handle backend functionality. This question tests the candidate's ability to implement and understand these routes.
medium
medium
medium
medium
medium
hard