
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Kick off a full stack CRUD app with Spring Boot and React, building a REST API with MySQL and integrating it into a React frontend.
Just Go to the Spring Initializer and install IntelliJ to write your first Spring Boot Project.
Create a user model class annotated as an entity to map to the user table, with id, username, name, and email, and generate getters and setters for MySQL integration.
Post data to the database by wiring a rest controller with a post mapping that accepts a user body, saves it via the user repository, and verifies results with Postman.
Fetch all users from the database using @GetMapping in a Spring Boot app, returning a list via userRepository.findAll() and testing with Postman at localhost/users.
Create a clean frontend structure in React by adding layout and pages folders, including nav bar, home, and users components with add, edit, and view, written in JavaScript files.
Build a home page that displays user information by creating a React functional component, using a Bootstrap table inside a padded container, and applying className styling for borders.
Fetch all users with axios in a React app using useEffect and useState, map the data into a dynamic table, and connect frontend and backend via CORS.
Learn to configure routing with react router dom v6, wrap the app in a router, and define routes for home and add user using links.
Store user information in React state by creating a user object with name, username, and email, bind inputs to these fields, and update state via onInputChange with the spread operator.
Implement a user not found exception for missing user ids and handle it with a controller advice to return a not found response for get user by id.
Learn to edit a user with Spring Boot by implementing a put mapping that finds by id, updates username, name, and email from a json body, and saves updated user.
Delete a user by id with the @DeleteMapping annotation, throw a user not found exception if missing, and delete via userRepository.deleteById(id) returning a success message.
Learn to implement the edit user workflow on the front end with axios put. The lecture covers routing, loading user data with useParams and useEffect, and submitting updates.
Delete a user using an axios delete request with the user ID, then reload the remaining data to reflect changes without reloading the app.
Explore viewing a user’s details in a React view, displaying id, username, and email, with navigation to home, and options to add, edit, or delete users.
Welcome to the course on Building Full-Stack Application using Spring Boot and React.
We will build a RESTful web service using Spring Boot and MySQL and consume the same API using React. While Building the application you will learn how to build REST API using Spring Boot and use Axios to consume the same API. We will use the functional component in React. For design, we will use Bootstrap. For testing API we will use postman.
We will create a CRUD application that contains the CREATE, READ, UPDATE, and DELETE operations.
Major Learning from this course :
You will create your first Full Stack application using Spring Boot and React
You will build RESTful APIs with Spring Boot and MySQL
You will Learn about Functional Component in React
You will learn how to use React Hooks and Axios to Consume API
You will learn to Solve the Challenges of Connecting a React Frontend to a RESTful API
You will learn to connect REST API to JPA/Hibernate with Spring Boot
You will learn the Basics of building Frontend Applications with React and Bootstrap
You will develop and Basic CRUD application with all Create, Read, Update and Delete Functionality
You will learn how to use bootstrap in react application
So, Let's learn together with fun.