๐Ÿ—๏ธ Modernizing Enterprise Applications โ€” Python
Home Chapters Examples Diagrams Bibliography GitHub โ†—
Home / The Reference Monolith
Part 3 3 chapters

The Reference Monolith

Build the Django 'before' picture: domain, apps, persistence, API, seed data, deliberate smells, and the test suite that becomes the equivalence suite.

Chapter 8

Designing the Monolith

Six bounded contexts as one Django deployable: layered apps, one shared schema, a DRF API, a single checkout transaction and seed data.

35 minutesRead โ†’
Chapter 9

The Deliberate Smells

The coupling, god-service, shared-schema and transaction-scope smells planted in the reference monolith, each tagged in code to the extraction that cures it.

30 minutesRead โ†’
Chapter 10

Testing the Monolith (the Equivalence Suite)

A pytest whitebox suite guards the monolith's internals, and an unedited Newman contract collection proves every extraction behaves like what it replaced.

30 minutesRead โ†’
โ† Previous part The Agentic Development Lifecycle (ADLC) Next part โ†’ Finding the Seams

Modernizing Enterprise Applications โ€” Python

A Django monolith strangled to FastAPI microservices, one seam at a time, driven by an Agentic Development Lifecycle (ADLC) and tested throughout.

Book

  • Chapters
  • Examples
  • Bibliography

Reference

  • FastAPI โ†—
  • Django โ†—
  • View on GitHub โ†—
  • Issues โ†—
Open source ยท Apache 2.0 Last built 2026-11-11