Skip to content
    SeaCode
    Learning tracksCode ArenaWorkshops & EventsInstructors
    Log inSign up
    Interactive tutorials / Next.js
    N

    Next.js

    The App Router and routing, Server and Client Components, data fetching and caching, Server Actions, APIs and security, SEO, performance and deploying to Vercel. On Next.js 16, the same version SeaCode is built with.

    Start the first lesson

    Every chapter is an island. Finish its lessons, beat its challenge, and sail on ⛵

    ⛵ You are here
    🏝️

    Island 1

    Next.js foundations

    0/4
    1. What is Next.js?Why React alone isn't enough: server rendering, routing and project structure.8 min1 🎮
    2. The App Router: folders are routespage and layout, nested routes, Link, and route groups.9 min3 🎮
    3. Dynamic routes[slug] and params, searchParams, generateStaticParams, and notFound.10 min2 🎮
    4. Client-side navigationusePathname, useRouter and useSearchParams, and an active navbar link.8 min2 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 2

    Server, client and data

    0/4
    1. Server and Client ComponentsWhich code runs where, "use client", and the boundary between them.11 min2 🎮
    2. Fetching data on the serverAsync components, waterfalls, Promise.all, and data from Supabase.10 min2 🎮
    3. loading, error and not-foundSpecial files for loading and error states, and streaming.9 min1 🎮
    4. Caching and revalidation"use cache", cacheLife and cacheTag, and refreshing data after changes.12 min2 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 3

    Mutations, APIs and security

    0/4
    1. Server ActionsServer functions called from forms, validation, and useActionState.12 min2 🎮
    2. Route Handlers: building an APIroute.ts, GET and POST, Request and Response, and status codes.10 min2 🎮
    3. Proxy (formerly Middleware)Code that runs before each request: redirects, route protection and headers.10 min2 🎮
    4. Authentication and protecting pagesSessions in cookies, checking at every layer, and Supabase Auth.11 min2 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 4

    Going to production

    0/4
    1. Metadata and SEOmetadata and generateMetadata, share images, sitemap and robots.9 min2 🎮
    2. Images, fonts and performancenext/image, next/font, next/dynamic, and Core Web Vitals.10 min1 🎮
    3. Environment variables and deploying to VercelNEXT_PUBLIC_, server-only, preview deployments and production.9 min2 🎮
    4. Project: a course catalogueA server page, client search, an API and a server action, together.15 min3 🎮
    Island challenge (Boss)+30 XP
    SeaCode

    Learn to code for real, online or at our branch in front of Cairo University, Giza.

    Learn

    • All courses
    • Interactive tutorials
    • Interview practice problems
    • Mock interview
    • Learning tracks
    • Code Arena
    • Workshops & Events
    • Knowledge library
    • Team projects

    Your account

    • Log in
    • Sign up
    • Learning plan
    • Certificates
    • Site map

    Contact us

    • WhatsApp
    • 010 9094 1104
    • In front of Cairo University, Giza

    © 2026 SeaCode. All rights reserved.