Modern Banking Microservices with Clean Architecture, DDD, TDD, .NET 9, and Angular (Monorepo)
$19.00
Minimum price
$29.00
Suggested price

Modern Banking Microservices with Clean Architecture, DDD, TDD, .NET 9, and Angular (Monorepo)

A Complete Engineering Guide to Building Production-Grade Banking Systems Using Microservices, Docker, CI/CD, Testing, and Angular Nx Monorepos

About the Book

This book is a complete, end-to-end engineering guide for building a modern digital banking platform using .NET 9, Clean Architecture, Domain-Driven Design (DDD), Angular (Nx Monorepo), Docker, PostgreSQL, and GitHub Actions CI/CD.

Unlike typical programming books, this guide teaches how real financial software is built:

  • Microservices in .NET 9 with clean boundaries
  • Domain-driven modeling of banking products
  • Building a scalable Angular monorepo with Nx
  • Containerization from day one
  • Automated testing (unit, integration, E2E)
  • Secure APIs and IAM
  • Event-driven workflows
  • GitHub Actions pipelines (build, test, lint, security scans)
  • Modern engineering practices used in fintech companies

You will build two full applications:

  1. Branch/Cashier App (Open accounts, deposits, withdrawals, customer KYC)
  2. Customer Internet Banking App (Transfers, airtime/electricity purchases, statements)

The platform includes:

  • AccountService
  • CustomerService
  • TransactionService
  • NotificationService
  • IAM / IdentityService
  • API Gateway using YARP
  • Observability stack
  • Automated pipeline integration
  • And more

This is a practical, real-world guide with extensive code, diagrams, testing, and DevOps workflows. Ideal for full-stack developers who want to master enterprise systems, microservices, and modern software engineering.

Who This Book Is For

This book is for full-stack developers, backend engineers, and architects who want to build modern, production-grade systems using .NET for the backend and Angular for the frontend. It is especially valuable if you want to learn full-stack microservices, API-driven development, and shared monorepo workflows using Nx.

You will benefit from this book if you:

  • Build full-stack applications using .NET + Angular
  • Want to adopt a monorepo architecture using Nx
  • Need real-world, enterprise-grade clean architecture examples
  • Want to design consistent front-end & back-end boundaries
  • Prefer practical, hands-on implementation over theory
  • Work in teams maintaining large codebases with modular design

No previous experience with microservices or Nx is required — everything is explained step-by-step.

What You Will Learn

By the end of this book, you will have built a complete full-stack banking platform using .NET, Angular, Nx, and modern cloud-native architecture. You will learn:

🔹

Backend (.NET 9)

  • Clean Architecture, DDD, CQRS, MediatR
  • Event-driven microservices with domain events
  • Minimal APIs and strongly typed endpoints
  • PostgreSQL integration with EF Core
  • Docker containers and local orchestration
  • Integration tests, unit tests, and API tests
  • YARP API Gateway with per-service Swagger
  • Authentication & authorization patterns
  • Observability: logs, metrics, tracing

🔹

Frontend (Angular + Nx Monorepo)

  • Setting up an Nx-powered enterprise Angular monorepo
  • Designing reusable Angular libraries and feature modules
  • Building clean service layers for API consumption
  • Strong typing with OpenAPI-generated Angular clients
  • State management best practices (NgRx or Signals Stores)
  • Building an admin dashboard, customer portal, and shared UI
  • Route guards, interceptors, and front-end security
  • High-quality UI/UX patterns for enterprise apps

🔹

Full-Stack Architecture

  • Designing front-end/back-end boundaries
  • Integrating front-end apps with microservices
  • Consistent domain modeling across layers
  • Versioning shared contracts (DTOs, API models)
  • Avoiding tight coupling between UI and backend services
  • Real-world CI/CD pipelines for monorepos and microservices

Every concept is explained while building a real working system end-to-end.

Keywords: .NET 9, Angular, Microservices, Docker, Fintech, Clean Architecture, Banking, Nx Monorepo, CI/CD, GitHub Actions, TDD, DDD

  • Share this book

  • Categories

    • C#
    • API Design
    • DevOps
    • Angular
    • Message-Driven Design
    • RabbitMQ
    • Microservices
    • Git
    • Event-Driven Architecture
    • Software Engineering
  • Feedback

    Email the Author(s)

About the Author

Gustavo Felix
Gustavo Felix

Gustavo Felix is a Senior .NET & Azure Software Engineer with extensive experience designing and building enterprise systems using microservices architectures, Clean Architecture, and modern cloud-native technologies. 


He has led engineering initiatives across fintech, logistics, and SaaS platforms, specializing in scalable backend systems, distributed event-driven workflows, and secure API development. Gustavo is passionate about teaching, mentoring, and helping developers grow into confident, high-level engineers through practical, real-world examples.


With this book, he brings together years of professional experience to teach full-stack developers how to build production-grade banking systems the way modern engineering teams operate today.

Table of Contents

    • Preface
    • Introduction
      • Why This Book Exists
      • Who This Book Is For
      • What You Will Build
      • What You Will Need
      • How This Book Is Structured
      • How to Use This Book
      • Working With the Codebase
      • Conventions Used in This Book
      • Reality & Scope
      • Ready to Start
    • Chapter 1 — The Vision: Building a Real Banking Platform from Scratch
      • 1.1 Why Build a Real Banking Platform?
      • 1.2 What This Book Builds End-to-End
      • 1.3 Real-World Digital Banking Systems: A Quick Overview
      • 1.4 Why Microservices, DDD, and Clean Architecture?
      • 1.5 Backend + Frontend + DevOps Blueprint
      • 1.6 What You Will Achieve as a Reader
      • 1.7 How This Chapter Connects to the Rest of the Book
    • Chapter 2 — Domain Architecture of a Digital Bank
      • 2.1 From Business Capabilities to Bounded Contexts
      • 2.2 Bounded Context: IAM
      • 2.3 Bounded Context: Customers
      • 2.4 Bounded Context: Accounts
      • 2.5 Bounded Context: Transactions
      • 2.6 Supporting Context: Notifications
      • 2.7 Event-Driven Design in the Banking Suite
      • 2.8 Domain Models vs Integration Models
      • 2.9 High-Level Business Workflows
      • 2.10 System Context & Container View
      • 2.11 Summary & What’s Next
    • Chapter 3 — Development Environment, Repository Setup & Branch Strategy
      • 3.1 Chapter Goals
      • 3.2 Tooling Checklist
      • 3.3 Creating the Banking Suite Repository
      • 3.4 Base Folder Structure
      • 3.5 Branch Strategy: main, develop, and feature branches
      • 3.6 Coding Standards & Commit Conventions
      • 3.7 Developer Onboarding Scripts
      • 3.8 A Minimal CI Pipeline Skeleton
      • 3.9 Summary & What’s Next

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub