Visão Geral
Este curso ensina a integrar React JS com APIs REST de forma prática e aplicada. Você aprenderá a consumir dados, enviar informações, lidar com erros, autenticação e construir aplicações completas que se comunicam com backends reais.
Conteúdo Programatico
Module 1 – Introduction to REST and React
- What is REST and how it works
- Overview of HTTP methods and status codes
- Project setup with React (Vite / Create React App)
- Structuring components for API integration
Module 2 – Fetching Data with React
- Using
fetch and Axios
- Handling GET requests and responses
- Displaying data in components
- Loading and error states
Module 3 – Sending Data to APIs
- POST requests and sending payloads
- PUT/PATCH requests for updates
- DELETE requests to remove data
- Validating user input
Module 4 – State Management
- Using React state and props for API data
- Context API for global state
- Introduction to libraries like Redux or Zustand
- Syncing UI with backend changes
Module 5 – Authentication and Security
- Implementing login with token-based auth
- Storing and using JWTs in React
- Protecting routes and conditional rendering
- Handling logout and session expiration
Module 6 – Advanced API Techniques
- Query parameters and filtering
- Pagination and infinite scroll
- Error handling strategies and retries
- Optimizing performance with memoization
Module 7 – Building a Full Application
- Planning project architecture
- Integrating all API operations
- Finalizing UI and UX
- Deploying React app connected to backend
- Best practices for production