The App Router (introduced in Next.js 13) uses the file system to define routes. Every folder inside src/app/ becomes a URL segment — just create a page.tsx file to make it accessible. File Conventions File Purpose page.tsx UI for a route — makes it publicly accessible layout.tsx Shared UI that wraps child pages (preserves state) loading.tsx Loading skeleton (auto-wrapped in Suspense) error.tsx Error boundary for the route not-found.tsx 404 UI route.ts API endpoint (no UI) Route Examples Dynamic Routes Route Groups Parentheses create route groups that don't affect the URL — useful for organizing routes with different layouts: Navigation