Book description
Get up and running with the Spring Boot and React stack – build an app from start to finish, test the frontend and backend, and deploy. Now with TypeScript code! Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- Use Spring Boot 3 to create powerful, complex, and secure backends for your applications
- Leverage React to build slick, high-performance frontends
- Get introduced to TypeScript, Vite, and React Query for React development
Book Description
If you’re an existing Java developer who wants to go full stack or pick up another frontend framework, this book is your concise introduction to React. In this three-part build-along, you’ll create a robust Spring Boot backend, a React frontend, and then deploy them together.
This new edition is updated to Spring Boot 3 and includes expanded content on security and testing. For the first time ever, it also covers React development with the in-demand TypeScript.
You’ll explore the elements that go into creating a REST API and testing, securing, and deploying your applications. You’ll learn about custom Hooks, third-party components, and MUI.
By the end of this book, you'll be able to build a full stack application using the latest tools and modern best practices.
What you will learn
- Make fast and RESTful web services powered by Spring Data REST
- Create and manage databases using ORM, JPA, Hibernate, and more
- Explore the use of unit tests and JWTs with Spring Security
- Employ React Hooks, props, states, and more to create your frontend
- Harness the Material UI component library to customize your frontend
- Use the fetch API, Axios, and React Query for networking
- Add CRUD functionality to your apps
- Deploy your apps using AWS and Docker
Who this book is for
This book is for Java developers who have basic familiarity with Spring Boot but don’t know where to start when it comes to building full stack applications. Basic knowledge of JavaScript and HTML will help you to follow along. You'll also find this book useful if you're a frontend developer with knowledge of JavaScript basics and looking to learn full stack development, or a full stack developer experienced in other technology stacks looking to learn a new one.
Table of contents
- Preface
- Part I: Backend Programming with Spring Boot
- Setting Up the Environment and Tools – Backend
- Understanding Dependency Injection
- Using JPA to Create and Access a Database
- Creating a RESTful Web Service with Spring Boot
- Securing Your Backend
- Testing Your Backend
- Part II: Frontend Programming with React
- Setting Up the Environment and Tools – Frontend
- Getting Started with React
- Introduction to TypeScript
- Consuming the REST API with React
- Useful Third-Party Components for React
- Part III: Full Stack Development
- Setting Up the Frontend for Our Spring Boot RESTful Web Service
- Adding CRUD Functionalities
- Styling the Frontend with MUI
- Testing React Apps
- Securing Your Application
- Deploying Your Application
- Other Books You May Enjoy
- Index
Product information
- Title: Full Stack Development with Spring Boot 3 and React - Fourth Edition
- Author(s):
- Release date: October 2023
- Publisher(s): Packt Publishing
- ISBN: 9781805122463
You might also like
book
Full Stack Development with Spring Boot and React - Third Edition
PUBLISHER'S NOTE: A new edition of this book is now available, revised and updated for Spring …
video
Full-Stack React with Spring Boot
11 Hours of Video Instruction Build full-stack applications using React and Spring Boot. Overview: In recent …
book
Modern API Development with Spring 6 and Spring Boot 3 - Second Edition
Discover ways to enhance your application's functionality through hands-on learning for designing, testing, securing, deploying, and …
book
Modern API Development with Spring and Spring Boot
A developer's guide to designing, testing, and securing production-ready modern APIs with the help of practical …