1 option
Full Stack Development with Spring Boot 3 and React : Build Modern Web Applications Using the Power of Java, React, and TypeScript / Juha Hinkula.
- Format:
- Book
- Author/Creator:
- Hinkula, Juha, author.
- Series:
- Expert insight.
- Expert insight
- Language:
- English
- Subjects (All):
- Spring (Software framework).
- Application software--Development.
- Application software.
- Application program interfaces (Computer software).
- Web applications.
- Physical Description:
- 1 online resource (0 pages)
- Edition:
- Fourth edition.
- Place of Publication:
- Birmingham, England : Packt Publishing Ltd., [2023]
- Summary:
- 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.
- Contents:
- Part 1: Backend Programming with Spring Boot
- Chapter 1: Setting Up the Environment and Tools - Backend
- Technical requirements
- Installing Eclipse
- Understanding Gradle
- 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
- Introducing dependency injection
- Using dependency injection in Spring Boot
- Chapter 3: Using JPA to Create and Access a Database
- Basics of ORM, JPA, and Hibernate
- Creating the entity classes
- Creating CRUD repositories
- Adding relationships between tables
- Setting up a MariaDB database
- Chapter 4: Creating a RESTful Web Service with Spring Boot
- Basics of REST
- Creating a RESTful web service with Spring Boot
- Using Spring Data REST
- Documenting a RESTful API
- Chapter 5: Securing Your Backend
- Understanding Spring Security
- Securing your backend with a JSON Web Token
- Securing the login
- Securing the other requests
- Handling exceptions
- Adding a CORS filter
- Role-based security
- Using OAuth2 with Spring Boot
- Chapter 6: Testing Your Backend
- Testing in Spring Boot
- Creating test cases
- Testing with Gradle
- Test-driven development
- Part II: Frontend Programming with React
- Chapter 7: Setting Up the Environment and Tools - Frontend
- Technical requirements.
- Installing Node.js
- Installing Visual Studio Code
- VS Code extensions
- Creating and running a React app
- Modifying a React app
- Debugging a React app
- Chapter 8: Getting Started with React
- Creating React components
- Examining our first React app
- Useful ES6 features
- Constants and variables
- Arrow functions
- Template literals
- Object destructuring
- Classes and inheritance
- JSX and styling
- Props and state
- Props
- State
- Stateless components
- Conditional rendering
- React hooks
- useState
- Batching
- useEffect
- useRef
- Custom hooks
- The Context API
- Handling lists with React
- Handling events with React
- Handling forms with React
- Chapter 9: Introduction to TypeScript
- Understanding TypeScript
- Common types
- Functions
- Using TypeScript features with React
- State and props
- Events
- Creating a React app with TypeScript
- Vite and TypeScript
- Chapter 10: Consuming the REST API with React
- Promises
- async and await
- Using the fetch API
- Using the Axios library
- Practical examples
- OpenWeather API
- GitHub API
- Handling race conditions
- Using the React Query library
- Chapter 11: Useful Third-Party Components for React
- Installing third-party React components
- Working with AG Grid
- Using the Material UI component library
- Managing routing with React Router
- Part III: Full Stack Development
- Chapter 12: Setting Up the Frontend for Our Spring Boot RESTful Web Service
- Mocking up the UI.
- Preparing the Spring Boot backend
- Creating the React project for the frontend
- Chapter 13: Adding CRUD Functionalities
- Creating the list page
- Fetching data from the backend
- Using environment variables
- Adding paging, filtering, and sorting
- Adding the delete functionality
- Displaying a toast message
- Adding a confirmation dialog window
- Adding the add functionality
- Adding the edit functionality
- Exporting the data to CSV
- Chapter 14: Styling the Frontend with MUI
- Using the MUI Button component
- Using the MUI Icon and IconButton components
- Using the MUI TextField component
- Chapter 15: Testing React Apps
- Using Jest
- Using the React Testing Library
- Using Vitest
- Installing and configuring
- Running our first test
- Testing our Carlist component
- Firing events in tests
- End-to-end testing
- Chapter 16: Securing Your Application
- Securing the backend
- Securing the frontend
- Creating a login component
- Implementing REST API calls
- Refactoring duplicate code
- Displaying an error message
- Logging out
- Chapter 17: Deploying Your Application
- Deploying the backend with AWS
- Deploying our MariaDB database
- Deploying our Spring Boot application
- Deploying the frontend with Netlify
- Using Docker containers
- PacktPage
- Other Books You May Enjoy
- Index.
- Notes:
- Includes index.
- Description based on print version record.
- ISBN:
- 9781805126812
- 1805126814
- OCLC:
- 1407632991
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.