Full Stack Development with Spring Boot and React: Build modern and scalable full stack applications using the power of Spring Boot and React, 3rd Edition
- Length: 378 pages
- Edition: 3
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2022-04-28
- ISBN-10: 1801816786
- ISBN-13: 9781801816786
- Sales Rank: #216829 (See Top 100 Books)
Discover the secrets to creating cutting-edge, compelling full stack applications using Spring Boot and React’s rich and varied toolsets
Key Features
- Utilize Spring Boot to make powerful, complex, and secure backends for your applications
- Leverage React’s full arsenal of tools for building slick, high-performance frontends
- Build modern, scalable full stack applications that comfortably meet the demands of your users
Book Description
Getting started with full stack development can be daunting. Even developers who are familiar with the best tools, such as Spring Boot and React, can struggle to nail the basics, let alone master the more advanced elements. If you’re one of these developers, this comprehensive guide covers everything you need!
This updated edition of the Full Stack Development with Spring Boot 2 and React book will take you from novice to proficient in this expansive domain. Taking a practical approach, this book will first walk you through the latest Spring Boot features for creating a robust backend, covering everything from setting up the environment and dependency injection to security and testing.
Once this has been covered, you’ll advance to React frontend programming. If you’ve ever wondered about custom Hooks, third-party components, and MUI, this book will demystify all that and much more. You’ll explore everything that goes into developing, testing, securing, and deploying your applications using all the latest tools from Spring Boot, React, and other cutting-edge technologies.
By the end of this book, you’ll not only have learned the theory of building modern full stack applications but also have developed valuable skills that add value in any setting.
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
- Discover a wide array of advanced React and third-party components
- Build high-performance applications complete with CRUD functionality
- Harness MUI to customize your frontend
- Test, secure, and deploy your applications with high efficiency
Who this book is for
This book is for Java developers who are familiar 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 JavaScript basics looking to learn full stack development or a full stack developer experienced in other technology stacks looking to learn a new one.
Full Stack Development with Spring Boot and React Third Edition Contributors About the author About the reviewers Preface Who this book is for What this book covers To get the most out of this book Download the example code files Code in Action Download the color images Conventions used Get in touch Share Your Thoughts Part 1: Backend Programming with Spring Boot Chapter 1: Setting Up the Environment and Tools – Backend Technical requirements Installing Eclipse Understanding Maven Using Spring Initializr Creating a project Running the project Spring Boot development tools Logs and problem solving Installing MariaDB Summary Questions Further reading Chapter 2: Understanding Dependency Injection Technical requirements Introducing DI Using DI in Spring Boot Summary Questions Further reading Chapter 3: Using JPA to Create and Access a Database Technical requirements Basics of ORM, JPA, and Hibernate Creating the entity classes Creating CRUD repositories Adding relationships between tables Setting up a MariaDB database Summary Questions Further reading Chapter 4: Creating a RESTful Web Service with Spring Boot Technical requirements Basics of REST Creating a RESTful web service Using Spring Data REST Summary Questions Further reading Chapter 5: Securing and Testing Your Backend Technical requirements Understanding Spring Security Securing your backend using a JWT Testing in Spring Boot Creating unit tests Summary Questions Further reading Part 2: Frontend Programming with React Chapter 6: Setting Up the Environment and Tools – Frontend Technical requirements Installing Node.js Installing VS Code VS Code extension Creating and running a React app Modifying a React app Summary Questions Further reading Chapter 7: Getting Started with React Technical requirements How to create React components Useful ES6 features Constants and variables Arrow functions Template literals Classes and inheritance JSX and styling Props and state Props State Stateless components Conditional rendering React hooks useState useEffect useRef Custom hooks The Context API Handling lists with React Handling events with React Handling forms with React Summary Questions Further reading Chapter 8: Consuming the REST API with React Technical requirements Using promises Using the fetch API Using the axios library Working on practical examples OpenWeatherMap API Summary Questions Further reading Chapter 9: Useful Third-Party Components for React Technical requirements Using third-party React components Working with AG Grid Using the MUI component library Managing routing in React Summary Questions Further reading Part 3: Full Stack Development Chapter 10: Setting up the Frontend for Our Spring Boot RESTful Web Service Technical requirements Mocking up the UI Preparing the Spring Boot backend Creating the React project for the frontend Summary Questions Further reading Chapter 11: Adding CRUD Functionalities Technical requirements Creating the list page The delete functionality The add functionality The edit functionality Other functionalities Summary Questions Further reading Chapter 12: Styling the Frontend with React MUI Technical requirements Using the Button component Using icon components Using the TextField components Summary Questions Further reading Chapter 13: Testing Your Frontend Technical requirements Using Jest Firing events in tests Understanding snapshot testing Summary Questions Further reading Chapter 14: Securing Your Application Technical requirements Securing the backend Securing the frontend Summary Questions Further reading Chapter 15: Deploying Your Application Technical requirements Deploying the backend Deploying the frontend Using Docker containers Summary Questions Further reading Chapter 16: Best Practices What to learn next HTML CSS HTTP JavaScript A backend programming language Some frontend libraries and frameworks Databases Version control Useful tools Security Best practices Coding conventions Choosing the proper tools Choosing the proper technologies Minimizing the amount of coding Summary Questions Further reading Assessments Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Why subscribe? Other Books You May Enjoy Packt is searching for authors like you Share Your Thoughts
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Full Stack Development with Spring Boot and React: Build modern and scalable full stack applications using the power of Spring Boot and React, 3rd Edition
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.