Skip to content

Repository files navigation

Spring Boot and Angular 2E – Backend Repository

This repository is a chapter-by-chapter backend workspace for the Bookstore application in "Spring Boot and Angular – Second Edition". It contains the evolving source code for the same system as it grows from a simple Spring Boot service in Chapter 02 into a full microservices platform by Chapter 10.

Each chapter folder is a progressive stage of the backend. Early chapters focus on the core service and persistence layer, while later chapters add service discovery, API gateway routing, security, observability, SSE notifications, and containerized deployment.

Start here: Chapter 02 Environment Setup


Current stack

The code across the later chapters is aligned with the current project setup and uses:

  • Java 26
  • Spring Boot 4.x
  • Spring Cloud 2025.1.2
  • Maven 3.9+
  • PostgreSQL for inventory data
  • MongoDB for user data
  • Eureka for service discovery
  • Spring Cloud Gateway for routing
  • Keycloak for authentication and authorization
  • Zipkin for distributed tracing
  • Docker and Docker Compose for local infrastructure and runtime orchestration

This repository is not a single final monolith; it contains multiple chapter stages of the same backend architecture.


Quick start

  1. Install the required tools by following the environment guide:
  2. Make sure Docker is running for PostgreSQL, MongoDB, Zipkin, and Keycloak.
  3. Start the services in chapter order, beginning with the discovery server and core microservices.
  4. Use the chapter-specific README files for the detailed implementation and test flow for each stage.

Chapter structure


Supporting files and tooling


Important notes

  • This repository is the backend-only portion of the full Bookstore application.
  • The frontend project lives in the separate Angular repository.
  • Some project files and chapter folders include generated targets and local build outputs; the source code and chapter READMEs are the best reference when working through the book.

Related repositories


Recommended reading order

  1. Chapter 02 Environment Setup
  2. Chapter 02 README
  3. Chapter 03 README
  4. Chapter 04 README
  5. Chapter 05 README
  6. Chapter 06 README
  7. Chapter 07 README
  8. Chapter 08 README
  9. Chapter 09 README
  10. Chapter 10 README

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages