Full Stack Development with Spring Boot 3 and React : Build Modern Web Applications Using the Power of Java, React, and TypeScript 🔍
Juha Hinkula Packt Publishing, Limited, Fourth Edition, 2023
英语 [en] · EPUB · 23.5MB · 2023 · 📘 非小说类图书 · 🚀/lgli/lgrs · Save
描述
Full Stack Development with Spring Boot 3 and React contains a wealth of practical guidance for picking up full stack development. The step-by-step exploration of everything from dependency injection, ORM with Hibernate, and JWTs to RESTful APIs, UI styling, and TypeScript will help you to develop the Spring Boot and React skills you need.
备用文件名
lgrsnf/Full Stack Development with Spring Boot 3 and React Build modern web apps using the power of Java, React and TypeScript, 4th Ed.epub
备选标题
Full Stack Development with Spring Boot 3 and React - Fourth Edition
备用版本
United Kingdom and Ireland, United Kingdom
备用版本
Packt Publishing, [N.p.], 2023
备用描述
Preface
Who this book is for
What this book covers
To get the most out of this book
Get in touch
Part I: Backend Programming with Spring Boot
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
Understanding Dependency Injection
Technical requirements
Introducing dependency injection
Using dependency injection in Spring Boot
Summary
Questions
Further reading
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
Creating a RESTful Web Service with Spring Boot
Technical requirements
Basics of REST
Creating a RESTful web service with Spring Boot
Using Spring Data REST
Documenting a RESTful API
Summary
Questions
Further reading
Securing Your Backend
Technical requirements
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
Summary
Questions
Further reading
Testing Your Backend
Technical requirements
Testing in Spring Boot
Creating test cases
Testing with Gradle
Test-driven development
Summary
Questions
Further reading
Part II: Frontend Programming with React
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
Summary
Questions
Further reading
Getting Started with React
Technical requirements
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
Summary
Questions
Further reading
Introduction to TypeScript
Technical requirements
Understanding TypeScript
Common types
Functions
Using TypeScript features with React
State and props
Events
Creating a React app with TypeScript
Vite and TypeScript
Summary
Questions
Further reading
Consuming the REST API with React
Technical requirements
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
Summary
Questions
Further reading
Useful Third-Party Components for React
Technical requirements
Installing third-party React components
Working with AG Grid
Using the Material UI component library
Managing routing with React Router
Summary
Questions
Further reading
Part III: Full Stack Development
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
Adding CRUD Functionalities
Technical requirements
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
Summary
Questions
Further reading
Styling the Frontend with MUI
Technical requirements
Using the MUI Button component
Using the MUI Icon and IconButton components
Using the MUI TextField component
Summary
Questions
Further reading
Testing React Apps
Technical requirements
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
Summary
Questions
Further reading
Securing Your Application
Technical requirements
Securing the backend
Securing the frontend
Creating a login component
Implementing REST API calls
Refactoring duplicate code
Displaying an error message
Logging out
Summary
Questions
Further reading
Deploying Your Application
Technical requirements
Deploying the backend with AWS
Deploying our MariaDB database
Deploying our Spring Boot application
Deploying the frontend with Netlify
Using Docker containers
Summary
Questions
Further reading
Other Books You May Enjoy
Index
备用描述
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 eBookKey FeaturesUse Spring Boot 3 to create powerful, complex, and secure backends for your applicationsLeverage React to build slick, high-performance frontendsGet introduced to TypeScript, Vite, and React Query for React developmentBook DescriptionIf 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 learnMake fast and RESTful web services powered by Spring Data RESTCreate and manage databases using ORM, JPA, Hibernate, and moreExplore the use of unit tests and JWTs with Spring SecurityEmploy React Hooks, props, states, and more to create your frontendHarness the Material UI component library to customize your frontendUse the fetch API, Axios, and React Query for networkingAdd CRUD functionality to your appsDeploy your apps using AWS and DockerWho this book is forThis 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.
开源日期
2023-11-05
更多信息……
We strongly recommend that you support the author by buying or donating on their personal website, or borrowing in your local library.

🚀 快速下载

成为会员以支持书籍、论文等的长期保存。为了感谢您对我们的支持,您将获得高速下载权益。❤️
如果您在本月捐款,您将获得双倍的快速下载次数。

🐢 低速下载

由可信的合作方提供。 更多信息请参见常见问题解答。 (可能需要验证浏览器——无限次下载!)

所有选项下载的文件都相同,应该可以安全使用。即使这样,从互联网下载文件时始终要小心。例如,确保您的设备更新及时。
  • 对于大文件,我们建议使用下载管理器以防止中断。
    推荐的下载管理器:JDownloader
  • 您将需要一个电子书或 PDF 阅读器来打开文件,具体取决于文件格式。
    推荐的电子书阅读器:Anna的档案在线查看器ReadEraCalibre
  • 使用在线工具进行格式转换。
    推荐的转换工具:CloudConvertPrintFriendly
  • 您可以将 PDF 和 EPUB 文件发送到您的 Kindle 或 Kobo 电子阅读器。
    推荐的工具:亚马逊的“发送到 Kindle”djazz 的“发送到 Kobo/Kindle”
  • 支持作者和图书馆
    ✍️ 如果您喜欢这个并且能够负担得起,请考虑购买原版,或直接支持作者。
    📚 如果您当地的图书馆有这本书,请考虑在那里免费借阅。