Book Image

Hands-On Full Stack Development with Spring Boot 2.0 and React

By : Juha Hinkula
Book Image

Hands-On Full Stack Development with Spring Boot 2.0 and React

By: Juha Hinkula

Overview of this book

Apart from knowing how to write frontend and backend code, a full-stack engineer has to tackle all the problems that are encountered in the application development life cycle, starting from a simple idea to UI design, the technical design, and all the way to implementing, testing, production, deployment, and monitoring. This book covers the full set of technologies that you need to know to become a full-stack web developer with Spring Boot for the backend and React for the frontend. This comprehensive guide demonstrates how to build a modern full-stack application in practice. This book will teach you how to build RESTful API endpoints and work with the data access Layer of Spring, using Hibernate as the ORM. As we move ahead, you will be introduced to the other components of Spring, such as Spring Security, which will teach you how to secure the backend. Then, we will move on to the frontend, where you will be introduced to React, a modern JavaScript library for building fast and reliable user interfaces, and its app development environment and components. You will also create a Docker container for your application. Finally, the book will lay out the best practices that underpin professional full-stack web development.
Table of Contents (24 chapters)
Title Page
Copyright and Credits
Dedication
Packt Upsell
Contributors
Preface
Index

Chapter 8


Answer 1: You can find the React component from multiple sources for example, https://js.coach/ or https://github.com/brillout/awesome-react-components.

Answer 2: You can install React components using the npm or yarn package managers. When using npm, here is the command we use, npm install <componentname>.

Answer 3: You have to install React Table component. After the installation you can use the ReactTable component in the render() method. You have to define the data and the columns using the ReactTable props. The data can be an object or an array.

Answer 4: One way to create modal forms in React app is to use React Skylight component (https://marcio.github.io/react-skylight/).

Answer 5: You have to install Material-UI component library using the following command npm install @material-ui/core. After the library installation you can start to use components. The documentation of the different components can be found from https://material-ui.com.

Answer 6: Routing can be implemented using the React Router component (https://github.com/ReactTraining/react-router).