Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
The Fastest Next.js Course: Learn Next 15 with App Router
Rating: 4.3 out of 5(70 ratings)
1,543 students

The Fastest Next.js Course: Learn Next 15 with App Router

Learn Next JS 15 with App Router by Building a Full App in 6 hours! Master Routing, Data Fetching and State management!
Last updated 10/2025
English
English [Auto],

What you'll learn

  • Set up and configure a Next.js 15 project from scratch
  • Understand the Next.js project structure and file-based routing system using App Router
  • Style Next.js applications using CSS Modules for modular and scalable styling
  • Optimize images with the Next.js Image component for better performance
  • Implement dynamic navigation using the Next.js Link component
  • Fetch data from an external API and handle loading and error states effectively
  • Learn the diffierence and when to use client-side and server-side components
  • Manage global state in a Next.js application using the Context API
  • Import and use Google Fonts to enhance the design of your project
  • Build a real-world shopping bag application following best practices

Course content

6 sections60 lectures6h 17m total length
  • Presentation of the Project & Course Introduction3:37

    Build a complete shopping experience with Next.js, fetching categories and products from an API. Use app router, context API, filters, load more, and CSS modules.

  • Creating a Next.js Application5:22

    Create your first Next.js project using app router, learn folder structure, and set up Node.js 18+. Run npm run dev to view the app locally.

  • Installing ES7+ React and JavaScript Nightly VS Code Extensions3:41
  • The Next.js Project Structure6:51

    Learn the next.js project structure with the app router and public folder. Organize routes with page.js, add dynamic routes, and use loading, not found, and layout files.

  • The Layout File5:06

    Create a root layout that wraps all pages with a shared header and footer, using the children prop to render content across routes, while leveraging automatic loading and error states.

  • Styling Next.js Apps with CSS Modules7:21

    Adopt CSS modules in Next.js to prevent style conflicts by importing a module as an object and applying scoped class names, while using globals.css for global styles.

  • Best Practices for Creating Custom Components6:57

    Explore best practices for creating custom components in Next.js, organizing with an app folder and a components folder, building header and footer components with semantic elements and consistent naming.

  • CSS Code for the Project4:07

    Access the project's css code in the git repo, copy global.css to match the figma prototype, and apply the container class for layout.

  • Styling The Header Component8:13

    Learn how to style a Next.js header using a header.module.css file, import CSS modules, and apply local classes with a wrapper container, flex layout, and spaced menu items.

  • Adding Multiple Classes with CSS Modules3:22

    Learn to apply multiple classes in css modules with a global container from globals.css. Discover when to use module vs global classes in a Next.js header.

  • The Next.js Image Element9:59

    Learn how to replace the standard img tag with the next/image element in Next.js, enabling automatic image optimization, responsive sizing, on-demand resizing, and lazy loading for hero and logo images.

  • The Next.js Link Element3:24

    Learn how the Next.js Link element prefetches linked pages to speed up navigation. Wrap navigation items, like home and products, with Link to render an anchor tag and enable optimization.

  • Importing Google Fonts6:20

    Import google fonts into a Next.js project via the next/font module, optimize for privacy and performance, and apply Open Sans and Railway fonts through the layout with CSS variables.

  • Finishing the Homepage Styles9:10

    Finish the homepage styling by creating categories and products components with css modules, wire up the Next.js link, and prepare to fetch categories and products from an API.

Requirements

  • Basic knowledge of React, including components, props, and state
  • Familiarity with JavaScript ES6+ features

Description

Learn Next.js by Building a Real-World E-Commerce App

Next.js is one of the most powerful React frameworks, offering server-side rendering, static site generation, and seamless routing. In this course, you’ll learn how to build a complete shopping bag application from scratch, mastering key Next.js features along the way.

We start with the fundamentals, including setting up a Next.js project, understanding the file-based routing system, and working with the layout component. You'll then dive into styling with CSS Modules, customizing components, and optimizing images with the Next.js Image component.

As the course progresses, you'll fetch data from a products API, handle loading and error states, and implement client-side and server-side rendering techniques. You'll also learn how to manage global state using the Context API, improving the user experience with efficient data handling.

By the end of this course, you'll have a solid grasp of Next.js and the skills to build scalable, production-ready applications. Whether you're a React developer looking to expand your skill set or a beginner eager to explore Next.js, this hands-on course will equip you with the knowledge and confidence to create modern web applications.

Join now and start building with Next.js today!

Who this course is for:

  • React developers who want to learn Next.js and build modern, server-rendered applications
  • Web developers looking to improve their skills in data fetching, routing, and state management with Next.js
  • Beginners familiar with JavaScript and React who want a hands-on project to master Next.js fundamentals
  • Anyone interested in building a real-world shopping bag application using Next.js and best practices