Autor: Juha Hinkula
Broj strana: 316
ISBN broj: 9781838822361
Izdavač:
PACKT PUBLISHING
Godina izdanja: 2019.
React Hooks have changed the way React components are coded. They enable you to write components in a more intuitive way without using classes, which makes your code easier to read and maintain. Building on from the previous edition, this book is updated with React Hooks and the latest changes introduced in create-react-app and Spring Boot 2.1. This book starts with a brief introduction to Spring Boot. You’ll understand how to use dependency injection and work with the data access layer of Spring using Hibernate as the ORM tool. You’ll then learn how to build your own RESTful API endpoints for web applications. As you advance, the book introduces you to other Spring components, such as Spring Security to help you secure the backend. Moving on, you’ll explore React and its app development environment and components for building your frontend. Finally, you’ll create a Docker container for your application by implementing the best practices that underpin professional full stack web development. By the end of this book, you’ll be equipped with all the knowledge you need to build modern full stack applications with Spring Boot for the backend and React for the frontend.
Table of contents
1 Setting Up the Environment and Tools - Backend
Technical requirements
Setting up the environment and tools
Summary
Questions
Further reading
2 Dependency Injection
Technical requirements
Introducing DI
Summary
Questions
Further reading
3 Using JPA to Create and Access a Database
Technical requirements
Basics of ORM, JPA, and Hibernate
Summary
Questions
Further reading
4 Creating a RESTful Web Service with Spring Boot
Technical requirements
Basics of REST
Summary
Questions
Further reading
5 Securing and Testing Your Backend
Technical requirements
Spring Security
Securing your backend using JWT
Testing in Spring Boot
Creating unit tests
Summary
Questions
Further reading
6 Setting Up the Environment and Tools - Frontend
Technical requirements
Installing Node.js
Installing VS Code
Creating and running a React app
Summary
Questions
Further reading
7 Getting Started with React
Technical requirements
Basic React components
Basics of ES6
JSX and styling
Props and the state
Component life cycle methods
Stateless components
React hooks
Handling lists with React
Handling events with React
Handling forms with React
Summary
Questions
Further reading
8 Consuming the REST API with React
Technical requirements
Using promises
Using the fetch API
Using the axios library
Practical examples
Summary
Questions
Further reading
9 Useful Third-Party Components for React
Technical requirements
Using third-party React components
React Table
Material-UI component library
Routing
Summary
Questions
Further reading
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
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
12 Styling the Frontend with React Material-UI
Technical requirements
Using the Button component
Using the Grid component
Using the TextField components
Summary
Questions
Further reading
13 Testing Your Frontend
Technical requirements
Using Jest
Snapshot testing
Using Enzyme
Summary
Questions
Further reading
14 Securing Your Application
Technical requirements
Securing the backend
Securing the frontend
Summary
Questions
Further reading
15 Deploying Your Application
Technical requirements
Deploying the backend
Deploying the frontend
Using Docker containers
Summary
Questions
Further reading
16 Best Practices
What to learn next
Best practices
Summary
Questions
Further reading
• Andreja Zivanovic
Da li moze da se naruci na engleskom jeziku ili mora da se ceka prevodena verzija da bi se narucilo?
ZA SADA NE MOŽE.
Popust cena:
1900.00 rsd
Popust cena:
2500.00 rsd
© Sva prava pridržana, Kompjuter biblioteka, Beograd, Obalskih radnika 4a, Telefon: +381 11 252 0 272 |
||