Justified Code/Clean Architecture Pattern Hands-On

  • $49

Clean Architecture Pattern Hands-On

  • Course
  • 21 Lessons

This course aims to create loosely coupled components that can be tested independently with no dependencies on data stores, message brokers or UIs. This pattern helps prevent technology lock-in. It covers folder setup, core domain logic (anemic vs. rich), use case orchestration, and plugin gateways implementing core interfaces.

Contents

Module 1 - Code Structure

Component Architecture
Folders and Layers
Preview

Module 2 - Rich Domains

Use Case
Preview
Stupid Domains
Enriching The Domains

Module 3 - Application Layer

Request and Response Models
Database Gateway Interface
Messaging Gateway Interface
Ordering Service
The Heart Of The System

Module 4 - Unit Tests In Isolation

Order Item Tests
Order Tests
Ordering Service Tests

Module 5 - Gateways

Data Layer
Messaging Layer
Flow Of Control

Module 6 - Final Thoughts

Summary
Preview

Bonus

Setup Demo
depedency_inversion_code.zip
docker-compose.yml
postgres_db.sql