Free beginner course
Next.js & Node.js for beginners
Learn how modern websites are built, from running JavaScript with Node.js to publishing a Next.js site. You know basic HTML. No React or Node experience needed.
6 lessons · about 44 minutes · Beginner
What you'll learn
- Explain what Node.js is and why Next.js needs it
- Install packages and run a project with npm
- Turn folders into pages, layouts and links
- Build reusable React components with props
- Fetch data and publish a site to a server or CDN
Lessons
- 1What is Node.js? JavaScript outside the browser, and why Next.js needs it.6 min
- 2npm and packages package.json, npm install, and the scripts you run every day.7 min
- 3Pages and routes How folders in app/ become the URLs of your site.8 min
- 4Components Reusable pieces of HTML, and how props make them flexible.7 min
- 5Getting data Fetching data at build time, on each request, or in the browser.8 min
- 6Build and deploy From npm run build to a live site: Node server or static files.8 min