万本电子书0元读

万本电子书0元读

顶部广告

Hands-On Full Stack Development with Spring Boot 2 and React电子书

售       价:¥

3人正在读 | 0人评论 9.8

作       者:Juha Hinkula

出  版  社:Packt Publishing

出版时间:2019-05-23

字       数:26.8万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
A comprehensive guide to building full stack applications covering frontend and server-side programming, data management, and web security Key Features * Unleash the power of React Hooks to build interactive and complex user interfaces * Build scalable full stack applications designed to meet demands of modern users * Understand how the Axios library simplifies CRUD operations Book Description 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. What you will learn * Create a RESTful web service with Spring Boot * Grasp the fundamentals of dependency injection and how to use it for backend development * Discover techniques for securing the backend using Spring Security * Understand how to use React for frontend programming * Benefit from the Heroku cloud server by deploying your application to it * Delve into the techniques for creating unit tests using JUnit * Explore the Material UI component library to make more user-friendly user interfaces Who this book is for If you are a Java developer familiar with Spring, but are new to building full stack applications, this is the book for you.
目录展开

Dedication

About Packt

Why subscribe?

Packt.com

Contributors

About the author

About the reviewer

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Download the color images

Conventions used

Get in touch

Reviews

Section 1: Backend Programming with Spring Boot

Setting Up the Environment and Tools - Backend

Technical requirements

Setting up the environment and tools

Installing Eclipse

The basics of Eclipse and Maven

Creating a project with Spring Initializr

How to run the project

Spring Boot development tools

Logs and problem solving

Installing MariaDB

Summary

Questions

Further reading

Dependency Injection

Technical requirements

Introducing DI

DI 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

Relationships between tables

Setting up the MariaDB database

Summary

Questions

Further reading

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

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

Section 2: Frontend Programming with React

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

Getting Started with React

Technical requirements

Basic React components

Basics of ES6

Understanding constants

Arrow functions

Template literals

Classes and inheritance

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

Consuming the REST API with React

Technical requirements

Using promises

Using the fetch API

Using the axios library

Practical examples

Summary

Questions

Further reading

Useful Third-Party Components for React

Technical requirements

Using third-party React components

React Table

Material-UI component library

Routing

Summary

Questions

Further reading

Section 3: 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

The delete functionality

The add functionality

The edit functionality

Other functionalities

Summary

Questions

Further reading

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

Testing Your Frontend

Technical requirements

Using Jest

Snapshot testing

Using Enzyme

Summary

Questions

Further reading

Securing Your Application

Technical requirements

Securing the backend

Securing the frontend

Summary

Questions

Further reading

Deploying Your Application

Technical requirements

Deploying the backend

Deploying the frontend

Using Docker containers

Summary

Questions

Further reading

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

Other Books You May Enjoy

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部