Helion


Szczegóły ebooka

Full Stack Development with Spring Boot and React - Third Edition

Full Stack Development with Spring Boot and React - Third Edition


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.

  • 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