Curso GraphQL com Node.js

  • DevOps | CI | CD | Kubernetes | Web3

Curso GraphQL com Node.js

24 horas
Visão Geral

O curso GraphQL API on a Front-End React App foi desenvolvido para capacitar desenvolvedores na construção de aplicações modernas utilizando React integrado a APIs GraphQL.
Durante o treinamento, o aluno aprenderá como consumir queries, mutations e subscriptions diretamente no front-end, utilizando Apollo Client, gerenciar estado com cache inteligente e otimizar a experiência de ponta a ponta entre UI e API.
Ao concluir o curso, o participante será capaz de criar aplicações React altamente performáticas, escaláveis e organizadas, integradas com APIs GraphQL reais.

Objetivo

Após realizar este Curso GraphQL API on a Front-End React App, você será capaz de:

  • Integrar GraphQL com React usando Apollo Client
  • Consumir Queries, Mutations e Subscriptions no front-end
  • Gerenciar estados e cache nativo do Apollo Client
  • Criar interfaces dinâmicas baseadas em dados GraphQL
  • Tratar erros, loading e atualizações em tempo real
  • Integrar múltiplas APIs GraphQL numa única aplicação
  • Criar uma aplicação completa React + GraphQL do zero
Publico Alvo

Este curso é recomendado para:

  • Desenvolvedores front-end que desejam trabalhar com GraphQL
  • Devs React que querem sair do REST e adotar APIs modernas
  • Desenvolvedores full stack
  • Estudantes de tecnologia interessados em aplicações modernas
  • Equipes corporativas migrando para GraphQL
Pre-Requisitos
  • Conhecimento básico de JavaScript
  • Conhecimento básico ou intermediário de React
  • Noções de consumo de APIs REST
  • (Opcional) Noções básicas de GraphQL
Materiais
Ingles/Portugues
Conteúdo Programatico

Module 1 – Introduction to GraphQL

  1. What is GraphQL
  2. GraphQL vs REST
  3. Queries, Mutations and Subscriptions
  4. Understanding GraphQL Schemas
  5. GraphQL Playground & Apollo Studio

Module 2 – React + GraphQL Fundamentals

  1. Setting up a React project (Vite or CRA)
  2. Installing Apollo Client
  3. Connecting React to a GraphQL API endpoint
  4. Introduction to Apollo Provider
  5. Project folder structure best practices

Module 3 – Executing GraphQL Queries in React

  1. Using useQuery hook
  2. Handling loading, error and data states
  3. Query variables
  4. Pagination with GraphQL
  5. Filtering and sorting data
  6. Pre-fetching and re-fetching data

Module 4 – Executing Mutations in React

  1. Using useMutation hook
  2. Creating, updating and deleting data
  3. Updating UI after mutations
  4. Apollo cache updates
  5. Optimistic UI updates
  6. Error handling for mutations

Module 5 – Real-Time with GraphQL Subscriptions

  1. What are subscriptions
  2. WebSockets and GraphQL
  3. Setting up splitLink for subscriptions
  4. Building real-time updates
  5. Real-time dashboards & notifications

Module 6 – Apollo Client Cache & State Management

  1. How the Apollo cache works
  2. Reading and writing to the cache
  3. Type policies
  4. Local-only fields
  5. Reactive variables
  6. Global state management with Apollo

Module 7 – Working with Multiple APIs

  1. Consuming multiple GraphQL endpoints
  2. Merging schemas on the client
  3. Handling multiple queries and mutations
  4. Query batching and deduplication

Module 8 – UI/UX Patterns for GraphQL Apps

  1. Skeleton loaders
  2. Error fallback UI
  3. Empty state patterns
  4. Refetch strategies
  5. Infinite scroll with GraphQL

Module 9 – Authentication & Security

  1. JWT-based authentication
  2. Attaching tokens to Apollo Links
  3. Role-based rendering
  4. Error handling for unauthorized requests
  5. Refresh token flows

Module 10 – Advanced Apollo Features

  1. Using Apollo DevTools
  2. Lazy queries (useLazyQuery)
  3. Polling data
  4. Fragment management
  5. Fetch policies (cache-first, network-only, etc.)

Module 11 – Building the Final Project

  1. A complete React + GraphQL Application, including:
  2. Full UI structure
  3. Queries, mutations and subscription integration
  4. Cache state management
  5. Authentication
  6. Pagination and filters
  7. Deployment (Vercel / Netlify)
TENHO INTERESSE

Cursos Relacionados

Curso Ansible Red Hat Basics Automation Technical Foundation

16 horas

Curso Terraform Deploying to Oracle Cloud Infrastructure

24 Horas

Curso Ansible Linux Automation with Ansible

24 horas

Ansible Overview of Ansible architecture

16h

Advanced Automation: Ansible Best Practices

32h