YoVDO

React Axios API Requests - Axios with React JS Tutorial

Offered By: Dave Gray via YouTube

Tags

React Courses Computer Science Courses Web Development Courses CRUD Operations Courses JSON Courses Axios Courses

Course Description

Overview

Learn how to implement Axios API requests in React JS through this comprehensive tutorial. Build a React JS Blog project while exploring the advantages of using Axios over the Fetch API for making API requests. Set up JSON Server, install Axios, and configure a baseURL. Dive into fetching, posting, and deleting data using Axios. Create an EditPost component, implement routing, and add functionality for editing posts. Cover essential topics such as handling API responses, updating state, and making UI changes based on API interactions. By the end of this tutorial, gain practical experience in integrating Axios with React to create dynamic, data-driven applications.

Syllabus

Intro
Welcome and Tutorial Outline
JSON Server set up
Installing Axios
Setting a baseURL for Axios
Starting JSON Server
Starting the React app
Import the Axios API
Fetching data with Axios
Posting data with Axios
Deleting data with Axios
Building the handleEdit update function
Creating the EditPost component
Adding a Route for the EditPost component
One more addition to the EditPost component
Adding an Edit Post button to the PostPage component
Importing EditPost and testing functionality
Small CSS Changes


Taught by

Dave Gray

Related Courses

Vue.js: Learning the basics by building a movie web app
Udemy
How to Build a Follow UnFollow System In PHP using Laravel
Udemy
Build your first React JS Application
Udemy
React Basics for beginners
Udemy
Complete React 16 from Zero to Hero | Get Hired
Udemy