Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Spring Boot and Angular
  • Table Of Contents Toc
Spring Boot and Angular

Spring Boot and Angular - Second Edition

By : Ahmad Gohar, Dimitrios Kyriakakis
close
close
Spring Boot and Angular

Spring Boot and Angular

By: Ahmad Gohar, Dimitrios Kyriakakis

Overview of this book

This book is your practical roadmap to building modern, production-ready full-stack applications. Through real-world examples and proven workflows, you’ll combine Spring Boot 3 microservices with Angular 20’s latest features to build secure, scalable systems that are ready for deployment. This second edition of Spring Boot and Angular written by two seasoned full-stack experts with decades of combined experience starts by laying a solid backend foundation by developing microservices with Spring Boot and Spring Cloud, implementing JWT security, and working with both SQL and NoSQL databases using Spring Data. You’ll then switch to the frontend to build reactive user interfaces with Angular, enable server-side rendering (SSR), and manage real-time data sharing for dynamic applications. You’ll also be guided through connecting Spring Boot APIs to Angular frontends using best practices and reactive integration patterns. The chapters help you to not only master the development aspects but also boost your efficiency with AI-powered coding using GitHub Copilot in VSCode. This guide will enable you to deploy containerized Spring Boot services, optimize Angular builds, and set up streamlined CI/CD pipelines for cloud delivery. By the end of this book, you’ll have built a complete, deployable application along with mastering the full development lifecycle.
Table of Contents (7 chapters)
close
close

Understanding Database Types

Databases come in many shapes and forms. Some are structured like spreadsheets (relational), while others are non-structured like flexible JSON documents (NoSQL). Knowing which one to use and when is essential for a scalable microservice architecture. To build our full-stack bookstore application, we will use a polyglot persistence approach. This essentially means using the best database type for each microservice’s needs.

Looking at relational and NoSQL databases

Let’s have a closer look at the two databases:

  • Relational Databases (RDBMS) - Structured and Consistent: Relational databases store data in well-defined tables with fixed schemas. Think of PostgreSQL, MySQL, or Oracle. Each record (or row) follows a consistent structure, utilizing foreign keys to maintain relationships between tables. This kind of setup is great for scenarios that require consistency, normalization, and complex querying with joins.

The inventory service manages books...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon