{"adoption": {"forks": 123, "observed_at": "2026-08-28T04:04:43.787784+00:00", "stars": 1437}, "canonical_url": "https://ross.abutalabs.com/products/ddd-hexagonal-cqrs-es-eda", "card": {"archived": false, "artifact_type": "learning-resource", "description": "Complete working example of using Domain Driven Design (DDD), Hexagonal Architecture, CQRS, Event Sourcing (ES), Event Driven Architecture (EDA), Behaviour Driven Development (BDD) using TypeScript and NestJS. Like what you see? Don't forget to star! ⭐ ^^^", "domain": ["backend", "web-development", "developer-tools", "tutorials", "apis", "microservices"], "enriched": true, "function": ["web-framework", "api-framework", "message-queue", "orm", "testing", "monitoring", "auth", "logging"], "health_score": 97, "homepage": "https://bitloops.com", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["bitloops/ddd-hexagonal-cqrs-es-eda"], "name": "bitloops/ddd-hexagonal-cqrs-es-eda", "platform": ["cross-platform"], "pushed_at": "2026-08-02T08:50:26+00:00", "repo": "bitloops/ddd-hexagonal-cqrs-es-eda", "stars": 1437, "tags": ["ddd", "hexagonal-architecture", "cqrs", "event-sourcing", "event-driven-architecture", "bdd", "nestjs", "reference-implementation", "todo-app", "keycloak", "mongodb", "postgres", "nats", "jaeger", "prometheus", "nodejs", "typescript", "docker"], "topics": ["bdd", "cqrs", "ddd", "domain-driven-design", "event-sourcing", "hexagonal-architecture", "jaeger", "mongodb", "nats", "nestjs", "nodejs", "postgres", "prometheus", "realtime", "typescript"], "urls": [], "use_cases": ["learn domain driven design with a real codebase", "example of CQRS and event sourcing in TypeScript", "hexagonal architecture reference implementation", "how to structure a NestJS backend with DDD", "event driven architecture example with NATS", "behavior driven development example in Node.js", "production-ready backend architecture template", "learn event storming and software design patterns"], "what_it_is": "A complete working example application demonstrating Domain Driven Design, Hexagonal Architecture, CQRS, Event Sourcing, Event Driven Architecture, and BDD using TypeScript and NestJS. It serves as a reference implementation for learning advanced backend software architecture patterns with a production-like codebase.", "when_to_avoid": ["you need a lightweight starter template rather than a full architectural example", "your stack is not Node.js/TypeScript or you do not use NestJS", "you want a production framework or library to install rather than educational example code"], "when_to_choose": ["you want a comprehensive, working reference for DDD, CQRS, and event sourcing in TypeScript", "you are learning advanced backend architecture patterns with NestJS", "you need a realistic example of event-driven microservices with monitoring and tracing"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/ddd-hexagonal-cqrs-es-eda", "repo": "bitloops/ddd-hexagonal-cqrs-es-eda", "role": "main", "score": 94}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.787784+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:36:43.202980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5726b4bf0c652be2b9bb053e00f472363d9c72f203edb528a3fb057b8236a571", "fetched_at": "2026-08-28T04:04:43.787784+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bitloops/ddd-hexagonal-cqrs-es-eda"}, {"content_hash": "e8fb5d1fd3b2c1d2d2c19e7a43d47f40f91aa7c9bc01e8291d73ab3315b3a6e5", "fetched_at": "2026-08-29T11:47:49.224253+00:00", "kind": "homepage", "missing": false, "url": "https://bitloops.com"}, {"content_hash": "4c136e0446a05d533d846290063ca2cc4852e64039757b20270841ee35e48afc", "fetched_at": "2026-08-29T11:47:49.233328+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/about-us"}, {"content_hash": "5829eeaf2cade9d68eb69e721de8e83110135672f3d2559e299e13a51db9feab", "fetched_at": "2026-08-29T11:47:49.235111+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs"}, {"content_hash": "6a22a9122dc54a0111f97814b85593cf0649b204a25d0ee66ac548655e1f711a", "fetched_at": "2026-08-29T11:47:49.236744+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs/getting-started/quickstart"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.787784+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:36:43.202980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5726b4bf0c652be2b9bb053e00f472363d9c72f203edb528a3fb057b8236a571", "fetched_at": "2026-08-28T04:04:43.787784+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bitloops/ddd-hexagonal-cqrs-es-eda"}, {"content_hash": "e8fb5d1fd3b2c1d2d2c19e7a43d47f40f91aa7c9bc01e8291d73ab3315b3a6e5", "fetched_at": "2026-08-29T11:47:49.224253+00:00", "kind": "homepage", "missing": false, "url": "https://bitloops.com"}, {"content_hash": "4c136e0446a05d533d846290063ca2cc4852e64039757b20270841ee35e48afc", "fetched_at": "2026-08-29T11:47:49.233328+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/about-us"}, {"content_hash": "5829eeaf2cade9d68eb69e721de8e83110135672f3d2559e299e13a51db9feab", "fetched_at": "2026-08-29T11:47:49.235111+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs"}, {"content_hash": "6a22a9122dc54a0111f97814b85593cf0649b204a25d0ee66ac548655e1f711a", "fetched_at": "2026-08-29T11:47:49.236744+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs/getting-started/quickstart"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:36:43.202980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5726b4bf0c652be2b9bb053e00f472363d9c72f203edb528a3fb057b8236a571", "fetched_at": "2026-08-28T04:04:43.787784+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bitloops/ddd-hexagonal-cqrs-es-eda"}, {"content_hash": "e8fb5d1fd3b2c1d2d2c19e7a43d47f40f91aa7c9bc01e8291d73ab3315b3a6e5", "fetched_at": "2026-08-29T11:47:49.224253+00:00", "kind": "homepage", "missing": false, "url": "https://bitloops.com"}, {"content_hash": "4c136e0446a05d533d846290063ca2cc4852e64039757b20270841ee35e48afc", "fetched_at": "2026-08-29T11:47:49.233328+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/about-us"}, {"content_hash": "5829eeaf2cade9d68eb69e721de8e83110135672f3d2559e299e13a51db9feab", "fetched_at": "2026-08-29T11:47:49.235111+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs"}, {"content_hash": "6a22a9122dc54a0111f97814b85593cf0649b204a25d0ee66ac548655e1f711a", "fetched_at": "2026-08-29T11:47:49.236744+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs/getting-started/quickstart"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.787784+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.787784+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.787784+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:36:43.202980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5726b4bf0c652be2b9bb053e00f472363d9c72f203edb528a3fb057b8236a571", "fetched_at": "2026-08-28T04:04:43.787784+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bitloops/ddd-hexagonal-cqrs-es-eda"}, {"content_hash": "e8fb5d1fd3b2c1d2d2c19e7a43d47f40f91aa7c9bc01e8291d73ab3315b3a6e5", "fetched_at": "2026-08-29T11:47:49.224253+00:00", "kind": "homepage", "missing": false, "url": "https://bitloops.com"}, {"content_hash": "4c136e0446a05d533d846290063ca2cc4852e64039757b20270841ee35e48afc", "fetched_at": "2026-08-29T11:47:49.233328+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/about-us"}, {"content_hash": "5829eeaf2cade9d68eb69e721de8e83110135672f3d2559e299e13a51db9feab", "fetched_at": "2026-08-29T11:47:49.235111+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs"}, {"content_hash": "6a22a9122dc54a0111f97814b85593cf0649b204a25d0ee66ac548655e1f711a", "fetched_at": "2026-08-29T11:47:49.236744+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs/getting-started/quickstart"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.787784+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.787784+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:36:43.202980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5726b4bf0c652be2b9bb053e00f472363d9c72f203edb528a3fb057b8236a571", "fetched_at": "2026-08-28T04:04:43.787784+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bitloops/ddd-hexagonal-cqrs-es-eda"}, {"content_hash": "e8fb5d1fd3b2c1d2d2c19e7a43d47f40f91aa7c9bc01e8291d73ab3315b3a6e5", "fetched_at": "2026-08-29T11:47:49.224253+00:00", "kind": "homepage", "missing": false, "url": "https://bitloops.com"}, {"content_hash": "4c136e0446a05d533d846290063ca2cc4852e64039757b20270841ee35e48afc", "fetched_at": "2026-08-29T11:47:49.233328+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/about-us"}, {"content_hash": "5829eeaf2cade9d68eb69e721de8e83110135672f3d2559e299e13a51db9feab", "fetched_at": "2026-08-29T11:47:49.235111+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs"}, {"content_hash": "6a22a9122dc54a0111f97814b85593cf0649b204a25d0ee66ac548655e1f711a", "fetched_at": "2026-08-29T11:47:49.236744+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs/getting-started/quickstart"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.787784+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.787784+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.787784+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:36:43.202980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5726b4bf0c652be2b9bb053e00f472363d9c72f203edb528a3fb057b8236a571", "fetched_at": "2026-08-28T04:04:43.787784+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bitloops/ddd-hexagonal-cqrs-es-eda"}, {"content_hash": "e8fb5d1fd3b2c1d2d2c19e7a43d47f40f91aa7c9bc01e8291d73ab3315b3a6e5", "fetched_at": "2026-08-29T11:47:49.224253+00:00", "kind": "homepage", "missing": false, "url": "https://bitloops.com"}, {"content_hash": "4c136e0446a05d533d846290063ca2cc4852e64039757b20270841ee35e48afc", "fetched_at": "2026-08-29T11:47:49.233328+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/about-us"}, {"content_hash": "5829eeaf2cade9d68eb69e721de8e83110135672f3d2559e299e13a51db9feab", "fetched_at": "2026-08-29T11:47:49.235111+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs"}, {"content_hash": "6a22a9122dc54a0111f97814b85593cf0649b204a25d0ee66ac548655e1f711a", "fetched_at": "2026-08-29T11:47:49.236744+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs/getting-started/quickstart"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.787784+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:43.787784+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:36:43.202980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5726b4bf0c652be2b9bb053e00f472363d9c72f203edb528a3fb057b8236a571", "fetched_at": "2026-08-28T04:04:43.787784+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bitloops/ddd-hexagonal-cqrs-es-eda"}, {"content_hash": "e8fb5d1fd3b2c1d2d2c19e7a43d47f40f91aa7c9bc01e8291d73ab3315b3a6e5", "fetched_at": "2026-08-29T11:47:49.224253+00:00", "kind": "homepage", "missing": false, "url": "https://bitloops.com"}, {"content_hash": "4c136e0446a05d533d846290063ca2cc4852e64039757b20270841ee35e48afc", "fetched_at": "2026-08-29T11:47:49.233328+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/about-us"}, {"content_hash": "5829eeaf2cade9d68eb69e721de8e83110135672f3d2559e299e13a51db9feab", "fetched_at": "2026-08-29T11:47:49.235111+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs"}, {"content_hash": "6a22a9122dc54a0111f97814b85593cf0649b204a25d0ee66ac548655e1f711a", "fetched_at": "2026-08-29T11:47:49.236744+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs/getting-started/quickstart"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:36:43.202980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5726b4bf0c652be2b9bb053e00f472363d9c72f203edb528a3fb057b8236a571", "fetched_at": "2026-08-28T04:04:43.787784+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bitloops/ddd-hexagonal-cqrs-es-eda"}, {"content_hash": "e8fb5d1fd3b2c1d2d2c19e7a43d47f40f91aa7c9bc01e8291d73ab3315b3a6e5", "fetched_at": "2026-08-29T11:47:49.224253+00:00", "kind": "homepage", "missing": false, "url": "https://bitloops.com"}, {"content_hash": "4c136e0446a05d533d846290063ca2cc4852e64039757b20270841ee35e48afc", "fetched_at": "2026-08-29T11:47:49.233328+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/about-us"}, {"content_hash": "5829eeaf2cade9d68eb69e721de8e83110135672f3d2559e299e13a51db9feab", "fetched_at": "2026-08-29T11:47:49.235111+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs"}, {"content_hash": "6a22a9122dc54a0111f97814b85593cf0649b204a25d0ee66ac548655e1f711a", "fetched_at": "2026-08-29T11:47:49.236744+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs/getting-started/quickstart"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:36:43.202980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5726b4bf0c652be2b9bb053e00f472363d9c72f203edb528a3fb057b8236a571", "fetched_at": "2026-08-28T04:04:43.787784+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bitloops/ddd-hexagonal-cqrs-es-eda"}, {"content_hash": "e8fb5d1fd3b2c1d2d2c19e7a43d47f40f91aa7c9bc01e8291d73ab3315b3a6e5", "fetched_at": "2026-08-29T11:47:49.224253+00:00", "kind": "homepage", "missing": false, "url": "https://bitloops.com"}, {"content_hash": "4c136e0446a05d533d846290063ca2cc4852e64039757b20270841ee35e48afc", "fetched_at": "2026-08-29T11:47:49.233328+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/about-us"}, {"content_hash": "5829eeaf2cade9d68eb69e721de8e83110135672f3d2559e299e13a51db9feab", "fetched_at": "2026-08-29T11:47:49.235111+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs"}, {"content_hash": "6a22a9122dc54a0111f97814b85593cf0649b204a25d0ee66ac548655e1f711a", "fetched_at": "2026-08-29T11:47:49.236744+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs/getting-started/quickstart"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:36:43.202980+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5726b4bf0c652be2b9bb053e00f472363d9c72f203edb528a3fb057b8236a571", "fetched_at": "2026-08-28T04:04:43.787784+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bitloops/ddd-hexagonal-cqrs-es-eda"}, {"content_hash": "e8fb5d1fd3b2c1d2d2c19e7a43d47f40f91aa7c9bc01e8291d73ab3315b3a6e5", "fetched_at": "2026-08-29T11:47:49.224253+00:00", "kind": "homepage", "missing": false, "url": "https://bitloops.com"}, {"content_hash": "4c136e0446a05d533d846290063ca2cc4852e64039757b20270841ee35e48afc", "fetched_at": "2026-08-29T11:47:49.233328+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/about-us"}, {"content_hash": "5829eeaf2cade9d68eb69e721de8e83110135672f3d2559e299e13a51db9feab", "fetched_at": "2026-08-29T11:47:49.235111+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs"}, {"content_hash": "6a22a9122dc54a0111f97814b85593cf0649b204a25d0ee66ac548655e1f711a", "fetched_at": "2026-08-29T11:47:49.236744+00:00", "kind": "site_page", "missing": false, "url": "https://bitloops.com/docs/getting-started/quickstart"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 95, "longevity": 89, "rhythm": 96}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1247, "days_push": 31, "days_rel": 31, "gap_med": 1, "n_releases_24m": 4}, "score": 94, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}