Get up and running with the Spring Boot and React stack – build an app from start to finish, test frontend and backend, and deploy. Now with TypeScript code! Purchase of the print or Kindle book includes a free PDF eBook. 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. 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. You'll also find this book useful if you're a frontend developer with knowledge of the JavaScript basics and you’re looking to learn full stack development, or a full stack developer experienced in other technology stacks looking to learn a new one.
This book covers all the topics needed to progress from learning Java to learning the necessary topics needed by a Full-Stack developer. The first is dependency injection on which Spring Framework is built, then JPA to build a robust, REST API to support CRUD operations, and then securing the back-end with Spring Security and touching on Oauth2. After testing the back end, the front end in React is covered step by step. If you know Java, the learning curve is easy to learn TypeScript and React, which is also covered from beginner level to enable you to consume an API and build a CRUD React app on top of it. Testing and deploying are added to put the cherry on the cake of the Full-Stack app.
The book is written in a simple, to-the-point format, and because a practical implementation is built, it enables you to learn this topic quickly. You will certainly have to research more on each topic if you are progressing further, but it is a great way to get started!