Modular Monolith in Node.js: Enforcing Module Public APIs
Build a modular monolith in Node.js with TypeScript: small index.ts public APIs, tooling-enforced boundaries, data ownership, events, and a composition root.
13 min read
Tag
Build a modular monolith in Node.js with TypeScript: small index.ts public APIs, tooling-enforced boundaries, data ownership, events, and a composition root.
13 min read
Design a two-axis Nx tag model (scope and type), write depConstraints as an allow-list, retrofit existing workspaces, and enforce boundaries in CI.
13 min read
Learn how Nx conformance rules, tags, and module boundaries govern large monorepos, and how to roll out enforcement in stages without blocking every team.
13 min read
Learn how to test whether a monolith is microservices-ready: data ownership, explicit contracts, enforced boundaries, cross-module transactions and a scoring checklist.
13 min read
Learn a modular monolith folder structure: package by feature, one public API per module, data ownership, naming rules, and CI checks that enforce boundaries.
13 min read
Learn when modules in a modular monolith should call each other through narrow APIs, when to use in-process events, and how to enforce boundaries.
14 min read
Learn how Nx module boundaries work, how to design tags and depConstraints, roll the lint rule into an existing workspace, and make it a blocking CI check.
14 min read
Learn how to design a modular monolith: drawing module boundaries, enforcing data ownership and dependency rules in CI, testing, and when to extract services.
13 min read