Visão Geral
Este curso apresenta os fundamentos de SSR (Server-Side Rendering) usando Next.js, mostrando como React pode entregar páginas mais rápidas, otimizadas para SEO e com experiência profissional desde o primeiro acesso. Você aprenderá a estruturar projetos, criar rotas, usar dados no servidor e gerar páginas híbridas.
Conteúdo Programatico
Module 1 — Introduction to Next.js & SSR
- What is Server-Side Rendering?
- Benefits of SSR vs. CSR
- Overview of the Next.js ecosystem
- Installing and initializing a new Next.js project
Module 2 — Pages and File-based Routing
- Understanding the pages/ folder
- Automatic route creation
- Dynamic routes with brackets
- Nested routes and URL parameters
Module 3 — Rendering Models (SSR, SSG, CSR)
- When to use SSR
- When to use SSG
- When CSR is still relevant
- Combining multiple rendering strategies
Module 4 — Data Fetching Fundamentals
- getServerSideProps (SSR data)
- getStaticProps (SSG data)
- getStaticPaths (dynamic static pages)
- Passing props securely to pages
Module 5 — Layouts and Components
- Creating reusable components
- Shared layouts with _app.js and layout patterns
- Adding metadata with Head
- Global styles and CSS Modules
Module 6 — Navigation and Links
- Using the Link component
- Client-side navigation
- Prefetching pages
- Improving navigation performance
Module 7 — Image Optimization
- Using Next.js Image component
- Automatic resizing and compression
- Configuring allowed image domains
Module 8 — API Routes Basics
- Creating backend endpoints inside Next.js
- Understanding API folder structure
- Handling requests/responses
- Connecting API routes to frontend pages
Module 9 — Deployment & Production Build
- Running next build and next start
- Setting environment variables
- Deploying on Vercel
- SEO checklist for production deployment
Module 10 — Mini Project
- Building a complete SSR website
- Fetching live API data
- Implementing dynamic pages
- Deploying the final project online