Build REST APIs with route handlers, middleware, CORS, and auth patterns.
- 01Next.js API Routes Patterns
- 02Api Routes Patterns Guide
- 03Api Routes Patterns Tips
Use use server and use client directives to control rendering and data access.
- 01Next.js Directives
- 02Directives Guide
- 03Directives Tips
Manage environment variables and configure Next.js for different environments.
- 01Next.js Environment Variables and Configuration
- 02Environment Variables Configuration Guide
- 03Environment Variables Configuration Tips
Organize Next.js projects for maintainability and performance.
- 01Next.js File Structure
- 02File Structure Guide
- 03File Structure Tips
Load web fonts efficiently with next/font for performance and UX.
- 01Next.js Font Optimization
- 02Font Optimization Guide
- 03Font Optimization Tips
Set up a Next.js project and start building pages and API routes quickly.
- 01Next.js Getting Started
- 02Getting Started Guide
- 03Getting Started Tips
Optimize images in Next.js using the Image component for better performance.
- 01Next.js Image Optimization
- 02Images Guide
- 03Images Tips
Use the Link component and useRouter for fast client-side navigation in Next.js.
- 01Next.js Link and Navigation
- 02Link And Navigation Guide
- 03Link And Navigation Tips
Create dynamic pages with brackets, access route params, and generate static paths with generateStaticParams.
- 01Next.js Dynamic Routes
- 02Dynamic Routes Guide
- 03Dynamic Routes Tips