logo资料库

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

第1页 / 共363页
第2页 / 共363页
第3页 / 共363页
第4页 / 共363页
第5页 / 共363页
第6页 / 共363页
第7页 / 共363页
第8页 / 共363页
资料共363页,剩余部分请下载后查看
Title Page
Copyright and Credits
Hands-On Full Stack Development with Spring Boot 2.0 and React
Dedication
Packt Upsell
Why subscribe?
PacktPub.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
Conventions used
Get in touch
Reviews
Setting Up the Environment and Tools – Backend
Technical requirements
Setting up the environment and tools
Installing Eclipse
The basics of Eclipse and Maven
Creating the project with Spring Initializr
How to run the project
Spring Boot development tools
Logs and problem solving
Installing MariaDB
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
Creating a RESTful web service with Spring Boot
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
Setting Up the Environment and Tools – Frontend
Technical requirements
Installing Node.js
Installing VS Code
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 state
Component life cycle methods
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
Practical examples
Summary 
Questions
Further reading
Useful Third-Party Components for React
Technical requirements
Using third-party React components
React Table
The modal window component
Material UI component library
Routing
Summary
Questions
Further reading
Setting Up the Frontend for Our Spring Boot RESTful Web Service
Technical requirements
Mocking up the user interface
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
Using the AppBar component
Using the SnackBar component
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 or 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
Other Books You May Enjoy
Leave a review - let other readers know what you think
Hands-On Full Stack Development with Spring Boot 2.0 and React Build modern and scalable full stack applications using the Java-based Spring Framework 5.0 and React Juha Hinkula
BIRMINGHAM - MUMBAI
Hands-On Full Stack Development with Spring Boot 2.0 and React Copyright © 2018 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. Commissioning Editor: Richa Tripathi Acquisition Editor: Shriram Shekhar Content Development Editor: Akshada Iyer Technical Editor: Abhishek Sharma Copy Editor: Safis Editing Project Coordinator: Prajakta Naik Proofreader: Safis Editing Indexer: Pratik Shirodkar Graphics: Jisha Chirayil Production Coordinator: Shantanu Zagade First published: June 2018 Production reference: 1190618 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78913-808-5 www.packtpub.com
To my wife, Pirre, and daughter, Anni, for their support and the time that I was able to spend with this project. To Mrs Riitta Blomster, for proofreading some difficult parts during the project. To all my motivated students, for inspiring me to continue the lifelong journey of learning.
mapt.io Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.
Why subscribe? Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals Improve your learning with Skill Plans built especially for you Get a free eBook or video every month Mapt is fully searchable Copy and paste, print, and bookmark content
PacktPub.com Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktP ub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at service@packtpub.com for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.
分享到:
收藏