Put in order · Next.js course · Module 4: Databases and Data Fetching

Order: app/api/ → route.js → export async

Arrange the elements in the correct order: app/api/ → route.js → export async

Items to put in order

  • function GET()
  • app/api/
  • route.js
  • export async

You can check the correct answer by solving this task in the CodeWorlds game.