Framework

Next Route Map examples

Paste an app directory tree and inspect routes, dynamic params, and route handler coverage.

App Router tree

Pages, route handlers, dynamic params, catch-all params, and route groups.

app/page.tsx
app/(marketing)/pricing/page.tsx
app/blog/[slug]/page.tsx
app/docs/[...slug]/page.tsx
app/api/users/route.ts
Open example

Nested source paths

A src/app project with optional catch-all and API route handlers.

src/app/page.tsx
src/app/shop/[[...category]]/page.tsx
src/app/products/[id]/page.tsx
src/app/api/checkout/route.ts
Open example

Use these examples with guides