Next.js for Beginners / Chapter 1 — Getting started (lessons 1–3) / Lesson 1

The shape of Next.js and setting up

Time needed: about 5 min (estimate)

☆ Read later

You can try the opening of this lesson without an account.

The ground Next.js covers

All React decides is how to build the parts that make up a screen.

The mapping from URLs to pages, server-side HTML generation, image optimization, where APIs live and the build configuration are all things you would have to arrange yourself with React alone.

Next.js is the framework that covers everything from "built with React" to "ready to publish".

Instead of installing a router you create a folder; images go through next/image, APIs through route.ts, and the build configuration is done for you.

Terminal

$ node -v v26.7.0 # Next.js 16 needs Node.js 20.9 or later. An older one says You are using Node.js XX. For Next.js, Node.js version >= v20.9.0 is required. $ npx create-next-app@latest recipe-box <- include @latest

Of the questions, the one that matters is App Router

Create a free account to keep reading

With an account you can read the rest of this lesson, take the quiz, and read every free lesson in this course. Lessons you answer correctly are recorded as complete.

Report a problem with this lesson

Log in to send a report.

Keyboard shortcuts

Keys available in a lesson
KeyAction
[ or Alt + ←Go to the previous lesson
] or Alt + →Go to the next lesson
?Open this list
EscClose this list

The keys do not work while the cursor is in a code editor or an input field.