This monorepo contains a pragmatic toolkit for Domain-Driven Design in TypeScript and a sample API that demonstrates its real-world usage.
This project is organized into two main packages: a reusable library and an example implementation.
A small collection of sharp, focused tools for taming complex business logic. It provides the core patterns of DDD (Aggregates, Commands, Repositories) without locking you into a framework.
For a full explanation and developer guides, see the ddd-kit README.
A real-world example of ddd-kit in action. This Hono-based API manages real estate assets and showcases how to structure a full application—from the HTTP layer down to the database—using the toolkit.
For setup instructions and to run the API locally, see the finance-api README
To get started with this monorepo, clone the repository and install all dependencies from the root directory using pnpm.
pnpm installAfter installation, follow the specific setup instructions in the README.md of the package/app you wish to work on.