- 1 Next.js Genesis: Setup and "Hello World" The "Why" Before the "How": React vs Next.jsApp Router vs Pages Router: The Modern ParadigmYour First Next.js App: Using create-next-appDemystifying the Project File Structure
- 2 Routing Essentials: Navigating Your App Folders as Routes: The App Router ConventionPages and Layouts: Building the UI SkeletonThe <Link> Component: Seamless Client-Side NavigationActive Links and the usePathname Hook
- 3 Advanced Routing: Dynamic and Organized Dynamic Routes: Handling IDs and Slugs ([id])Route Groups: Organizing Code Without Affecting URLsCatch-All Segments: Highly Flexible Routing Patterns
- 4 The Rendering Paradigm: Server vs Client React Server Components (RSC): The Default PowerhouseClient Components: Mastering the 'use client' DirectiveDecision Matrix: When to Use Server vs Client ComponentsInterleaving Server and Client Components Effectively
- 5 Data Fetching: Getting Your Data Server-Side Fetching with the Native fetch APICaching Strategies: Static Rendering vs Dynamic RenderingOn-Demand Revalidation: Keeping Data FreshClient-Side Fetching: SWR and React Query Basics
- 6 Server Actions: Mutating Data the Modern Way Introduction to Server Actions: Forms Without APIsExecuting Server Actions inside Server ComponentsEnhancing Client Components: useFormStatus and useFormStateUpdating the UI Automatically: revalidatePath
- 7 UI and Styling: Making It Look Good Global CSS and the Root Layout IntegrationCSS Modules: Scoped and Traditional StylingTailwind CSS in Next.js: The Industry Standard SetupConditional Styling Mastery with clsx and tailwind-merge
- 8 Built-in Optimizations: Blazing Fast Experiences The <Image> Component: Automatic Image OptimizationThe next/font Module: Eliminating Cumulative Layout ShiftMetadata and SEO: Static Tags, Dynamic Tags, and OpenGraphScript Optimization: Loading Third-Party Scripts Safely
- 9 Route Handlers: Building Your Own API Endpoints Understanding route.ts: Next.js Backend EndpointsHandling HTTP Methods: GET, POST, PUT, and DELETEMastering the NextRequest and NextResponse ObjectsBuilding Webhooks to Integrate External Services
- 10 State Management in the Server Era The URL as State: Utilizing Search Parameters EffectivelyReact Context Providers: The Client Component BridgePassing Props: Secure Server-to-Client Data Flow
- 11 UX Patterns: Loading and Error Handling Instant Loading States with loading.tsxStreaming UI with React <Suspense> BoundariesGraceful Failure: Creating error.tsx Error BoundariesHandling Missing Resources: Custom 404 Pages with not-found.tsx
- 12 Middleware: Intercepting Requests The middleware.ts File: Edge Execution ConceptsDynamic Redirects and Rewrites on the EdgeReading, Setting, and Deleting Cookies in Middleware
- 13 Authentication: Securing Your Application Overview of Authentication Strategies in Next.jsSetting up NextAuth.js (Auth.js) v5Implementing OAuth Providers: Google and GitHub LoginProtecting Routes, Server Components, and Server Actions
- 14 Database Integration: The Full Stack Completes Choosing an ORM: Prisma vs Drizzle OverviewConnecting Next.js to a Cloud Database (e.g., PostgreSQL/Supabase)Querying the Database Directly from Server ComponentsMutating Database Records Securely via Server Actions
- 15 Deployment & Production Readiness Environment Variables: Managing .env for Local and ProductionRunning the Production Build Locally (next build)Deploying Seamlessly to VercelNext.js Analytics and Performance Monitoring