Integrate the collection by building an order API with TypeScript, Express, Zod, and SQLite. Includes project files, domain rules, events, version control, Vitest tests, and commands to run and verify it locally.
Learn to guide AI agents with business rules, context boundaries, and verifiable criteria. A TypeScript case shows how to prepare instructions, protect Order, design tests, and review changes without delegating architectural judgment.
Compare a modular monolith with separating Sales, Payments, and Inventory. Design contracts in TypeScript and Express and understand partial failures, eventual consistency, idempotency, Outbox, and Sagas without introducing complex infrastructure.
Refactor order confirmation from a coupled controller into Order, a use case, a port, and adapters. Learn the dependency rule, manual composition, and tests without infrastructure, using TypeScript and Express.
Explore a purchase with EventStorming: identify events, commands, actors, rules, and exceptions. Learn to prepare a workshop, propose boundaries, and turn validated findings into verifiable scenarios and a brief TypeScript policy.
Evaluate generic capabilities using Build vs. Buy criteria and total cost of ownership. Compare authentication options, preserve internal contracts with TypeScript, and learn to reuse without delegating security or business decisions.
Design returns management in proportion to its rules and risks. Learn to choose functions, small models, automations, or existing tools, with TypeScript, proposed tests, and criteria for evolving without overengineering.
Distinguish differentiating, supporting, and generic capabilities to guide technical investment. Analyze a store with personalized recommendations, model a short TypeScript rule, and compare decisions to build, buy, and learn.
Learn to decide when not to integrate two contexts. Compare Sales discounts and Marketing incentives with TypeScript, evaluate costs and duplication, and document independence along with its boundaries and review conditions.
Design PaymentConfirmedV1 for Sales, Billing, and Analytics. Define identities, units, and meaning, validate with Zod and JSON Schema, and learn to evolve contracts without leaking the internal model or changing their promises.
Design a common Inventory interface for Sales, Shipping, and Marketplace. Define availability and reservations with TypeScript and Express, validate inputs and errors, and plan testing and evolution without exposing the internal model.
Build an ACL to integrate a payment provider without leaking its statuses into the domain. Define an internal contract, validate responses, translate identities and meanings, and distinguish technical errors from business outcomes with TypeScript.