Fullstack CourseLearn by building
Back to roadmap

Week 3 — Next.js Getting Started

Build App Router foundations while keeping Nest as the owner of the product API — then ship a Next blog/dashboard mini-project.

End-of-week mini-project · practice only

Next blog / dashboard shell

Host a small blog or dashboard in the Next App Router with layouts, Link, Server/Client boundaries, and Nest-backed data via Query.

Definition. A Next blog/dashboard mini-project applies App Router layouts, pages, Link navigation, Server vs Client Components, and Provider placement while Nest remains the product API owner.

In simpler words. Build routes and a layout in Next. Interactive lists/forms stay in Client Components. Data still comes from Nest through Query.

Deliverables

  • App Router routes: e.g. /blog, /blog/[slug] or /dashboard + one detail route
  • Shared layout with next/link nav; metadata on pages
  • Server Component page shell composing a Client Component board/list
  • QueryClientProvider (+ RTK Provider if you carry drafts) only on the client subtree
  • Loading / error UI; no product CRUD in Next Route Handlers

Acceptance checklist

- [ ] use client only on interactive leaves + providers module
- [ ] Redux/Query Provider is not on a Server Component file
- [ ] Internal nav uses next/link
- [ ] At least one dynamic segment or filtered list view
- [ ] Nest remains API owner (no duplicate CRUD in Route Handlers)
- [ ] Metadata set on the main page

Tips

  • Reuse Week 2 Query patterns inside Client Components — do not invent a second data layer.
  • Official Learn Next.js path under /resources complements this brief.
  • Keep secrets and JWT handling on Nest; the browser only sends cookies.