logoNext.js English
DocumentationBlogLearn
Getting Started
Installation
Project Structure
Layouts and Pages
Linking and Navigating
Images
Fonts
CSS
Server and Client Components
Fetching Data
Caching and Revalidating
Updating Data
Error Handling
Partial Prerendering
Metadata and OG images
Deploying
Upgrading
Guides
Building Your Application
Routing
Route Handlers
Middleware
Data Fetching
Deep Dive
API Reference
Architecture
Community
logoNext.js English
DocumentationBlogLearn
Introduction/Building Your Application/Routing

Routing Fundamentals

Route Handlers

Create custom request handlers for a given route using the Web's Request and Response APIs.

Middleware

Learn how to use Middleware to run code before a request is completed.

Building Your Application

Learn how to use Next.js features to build your application.

Route Handlers

Create custom request handlers for a given route using the Web's Request and Response APIs.