更新时间:2021-06-24 19:18:27
coverpage
Title Page
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
Download the color images
Conventions used
Get in touch
Reviews
Journey to the Spring World
Spring modularity
Spring Core Framework
Core container
Spring Messaging
Spring AMQP
Spring for Apache Kafka
Spring JMS
Spring Web MVC
Spring WebFlux
Spring Data
Spring Security
Spring Cloud
Spring Cloud Netflix
Spring Cloud Config
Spring Cloud Consul
Spring Cloud Security
Spring Cloud Bus
Spring Cloud Stream
Spring Integration
Spring Boot
Microservices and Spring Boot
Setting up our development environment
Installing OpenJDK
Installing Maven
Installing IDE
IntelliJ IDEA
Spring Tools Suite
Installing Docker
Introducing Docker concepts
Docker images
Containers
Docker networks
Docker volumes
Docker commands
Docker run
Docker container
Docker network
Docker volume
Summary
Starting in the Spring World – the CMS Application
Creating the CMS application structure
The CMS project
Project metadata section
The dependencies section
Generating the project
Running the application
Looking under the hood
Command line
Command line via the Maven goal
Command line via the JAR file
Creating the REST resources
Models
Adding Lombok dependency
Creating the models
Tag
Category
User
News
Hello REST resources
Creating the CategoryResource class
UserResource
NewsResource
Adding service layer
Changes in the model
Adding a new review
Keeping the news safely
Before starting the service layer
CategoryService
UserService
NewsService
Configuring Swagger for our APIs
Adding dependencies to pom.xml
Configuring Swagger
First documented API
Integrate with AngularJS
AngularJS concepts
Controllers
Services