https://github.com/mkrtchian/humble-object-pattern
Examples implementing functional and hexagonal architectures
https://github.com/mkrtchian/humble-object-pattern
hexagonal-architecture humble-object-pattern unit-testing
Last synced: 3 months ago
JSON representation
Examples implementing functional and hexagonal architectures
- Host: GitHub
- URL: https://github.com/mkrtchian/humble-object-pattern
- Owner: mkrtchian
- Created: 2022-09-19T21:17:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2026-03-23T18:22:49.000Z (3 months ago)
- Last Synced: 2026-03-24T16:37:18.730Z (3 months ago)
- Topics: hexagonal-architecture, humble-object-pattern, unit-testing
- Language: TypeScript
- Homepage:
- Size: 1.69 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Humble Object Pattern

This project implements the main examples of humble object pattern described in [Unit Testing: Principles, Practices, and Patterns](https://www.manning.com/books/unit-testing) from Vladimir Khorikov, using TypeScript.
All the unit and integration tests are included.
## Audit system example
The [Audit system example](src/audit-system) (from chapter 6 in the book) refactors a project that uses the filesystem, from overcomplicated code to **functional architecture**.
## CRM example
The [CRM example](src/crm) (from chapter 7 in the book) refactors a project that uses a database and a message bus, from overcomplicated code to **hexagonal architecture**.