Spring Boot

Designing Applications with Spring Boot and React JS

Hello readers, my title “Designing Applications with Spring Boot 2.2 and React JS” has been published by BPB Publication in Jun 2019. This book designed for the developers and architects, who want to design an application with full stack development with Spring Boot and React JS. This book is very useful for backend as well as frontend developers.

Designing Applications with Spring Boot and React JS

Designing Application with Spring Boot 2.2 & React JS is for all Java developers who want to learn Spring Boot 2.2 and React JS as in the enterprise application. Therefore, enterprise Java developers will find it particularly useful in the understanding of Spring Boot 2.2 and React JS and how to develop a backend RESTful application using the Spring Boot 2.2 and frontend application using React JS framework. They will most fully appreciate the examples presented in this book. Before reading this book, readers should have basic knowledge of core java, spring, servlet, filter, XML, and JavaScript.

Table of Contents

1.    Getting Started with Spring Boot 2.2
2.    Customizing Auto-Configuration
3.    Configuring Data and CRUD operations
4.    Creating REST APIs with Spring Boot 2.2
5.    Securing REST APIs
6.    Testing Spring Boot Application
7.    Getting Started with React
8.    Creating and Styling React Components
9.    Consuming the REST API with React JS
10. Deploying and Containerizing Application

Course Coverage

Designing Application with Spring Boot 2 & React JS is divided into three parts as the following:

  • The first part introduces you to the essentials of the Spring Boot 2.2 Framework and you will learn how to create REST APIs and how to secure REST APIs.
  • Part 2 steps behind the front end application development with React JS and discuss React features and its advantages toward the front end application development.
  • Part 3 expands on that by showing how to deploy backend and frontend application the PaaS platform and also will discuss how to deploy application container technologies such as Docker. A step-by-step guide to design and develop intuitive full-stack web applications.

Part 1: Introducing Spring Boot and its features, creating REST APIs

In this part, I have discussed Spring Boot and its key features such as autoconfiguration, CLI, and Actuator. Also, I have created REST APIs and secured these APIs using the Spring Security, JWT, and OAuth2. Let’s see the following chapters are included in this part 1:

Chapter 1: Getting Started with Spring Boot 2.2

In chapter 1, you’ll be given an overview of spring boot, including some basic examples of Autoconfiguration and Spring Boot CL. You’ll also get an overview of the greater Spring Boot portfolio.

Chapter 2: Customizing Auto-Configuration

In chapter 2, you’ll be given an overview of Spring Boot Auto Configuration, including customization of autoconfiguration. You’ll also get an overview of the profiling.

Chapter 3: Configuring Data and CRUD operations

In chapter 3, you’ll be given an overview Spring Data JPA and configuring SQL DB in the Spring Boot application.

Chapter 4: Creating REST APIs with Spring Boot 2.2

In chapter 4 goes into more detail about creating the REST services using the Spring Boot.

Chapter 5: Securing REST APIs

In chapter 5, I’ll explore how to secure REST APIs using OAtuth2 and Spring security. We will also explore JWT web token for the RESTful APIs.

Chapter 6: Testing Spring Boot Application

In chapter 6, we will explore TESTING module of the Spring Boot application and Unit & Integration testing.

Part 2: Introducing React JS and creating frontend application

In this part, I have introduced the React JS for frontend application development, we have created React components. Let’s see the following chapters are included in this part:

Chapter 7: Getting Started with React

In chapter 7, we will discuss ReactJS and its components we will also discuss the React features and its advantages and disadvantages.

Chapter 8: Creating and Styling React Components

In chapter 8, you’ll be seen how to create ReactJS components and how to manage ReactJS component life cycle.

Chapter 9: Consuming the REST API with React JS

In chapter 9, it gives a quick overview of consuming the REST API using the React application.

Part 3: Deploying backend and frontend application in the cloud, and docker

In this part, I have discussed how to deploy backend and frontend applications to the cloud platform and we have discussed container based deployment using Docker. Let’s see the following chapters:

Chapter 10: Deploying and Containerizing Application

In chapter 10, we will deploy the created application. We have a closer look at the application deployment based on a container-oriented approach.

What will you learn

  • Exploring Spring Boot 2.2 new features and essential key components such as Starters, Autoconfiguration, CLI, Actuator.
  • Develop a REST application using Spring Boot 2.2 and DevTools.
  • Exploring Spring Boot Auto Configuration and Customisation.
  • Creating application profiles based on the environments.
  • Learn to configure backend data using JDBC and Spring Data JPA.
  • Learn to configure a DataSource for H2 DB, and also for Maria DB.
  • The best practices for designing a REST architecture based application.
  • Creating a REST application using HATEOAS.
  • Consuming REST APIs endpoints with RestTemplate, Traverson, and WebClient.
  • Exploring JWT web token for the RESTful APIs and explores how to secure REST APIs using OAuth2 and Spring security.
  • Creating TESTING module of the Spring Boot application and Unit & Integration testing.
  • Discuss React JS and its components and also discuss React KS features and its advantages and disadvantage.
  • Exploring how to create ReactJS components and how to manage ReactJS component lifecycle.
  • Taking a quick overview of consuming the REST API using the React application.
  • Deploying the application to the Cloud platform (PaaS).
  • Containerization and Deploy using Docker containers

Previous
Next
Dinesh Rajput

Dinesh Rajput is the chief editor of a website Dineshonjava, a technical blog dedicated to the Spring and Java technologies. It has a series of articles related to Java technologies. Dinesh has been a Spring enthusiast since 2008 and is a Pivotal Certified Spring Professional, an author of a book Spring 5 Design Pattern, and a blogger. He has more than 10 years of experience with different aspects of Spring and Java design and development. His core expertise lies in the latest version of Spring Framework, Spring Boot, Spring Security, creating REST APIs, Microservice Architecture, Reactive Pattern, Spring AOP, Design Patterns, Struts, Hibernate, Web Services, Spring Batch, Cassandra, MongoDB, and Web Application Design and Architecture. He is currently working as a technology manager at a leading product and web development company. He worked as a developer and tech lead at the Bennett, Coleman & Co. Ltd and was the first developer in his previous company, Paytm. Dinesh is passionate about the latest Java technologies and loves to write technical blogs related to it. He is a very active member of the Java and Spring community on different forums. When it comes to the Spring Framework and Java, Dinesh tops the list!

Share
Published by
Dinesh Rajput

Recent Posts

Strategy Design Patterns using Lambda

Strategy Design Patterns We can easily create a strategy design pattern using lambda. To implement…

2 years ago

Decorator Pattern using Lambda

Decorator Pattern A decorator pattern allows a user to add new functionality to an existing…

2 years ago

Delegating pattern using lambda

Delegating pattern In software engineering, the delegation pattern is an object-oriented design pattern that allows…

2 years ago

Spring Vs Django- Know The Difference Between The Two

Technology has emerged a lot in the last decade, and now we have artificial intelligence;…

2 years ago

TOP 20 MongoDB INTERVIEW QUESTIONS 2022

Managing a database is becoming increasingly complex now due to the vast amount of data…

2 years ago

Scheduler @Scheduled Annotation Spring Boot

Overview In this article, we will explore Spring Scheduler how we could use it by…

3 years ago