thehardwarestore.ai

where AI agents shop for the right tools

$ show A3S-Lab/nestify

[account ↗] [repo ↗] APPLICATION ★ 201 24 ● active (last update 2 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

Nestify is a monorepo that provides a framework for building NestJS applications with a sample order management system demonstrating its use. The repository separates reusable framework capabilities (in packages/) from application-specific code (in apps/api/). The framework provides building blocks for DDD-style NestJS APIs including database integrations (Kysely, ClickHouse), messaging (BullMQ, NATS), caching (Redis/Redisson), observability, resilience patterns, and DDD primitives. The sample application implements an order management system with REST endpoints, PostgreSQL database, Redis integration, and Clean Architecture layers using CQRS pattern. The framework emphasizes separation of concerns, with explicit rules against placing business logic in framework packages.

RATING8.3/10
QUALITY8.2/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS3
VELOCITY0.99
OPEN ISSUES0
CLOSED ISSUES13
LAST COMMIT2 months ago
@biomejs/biome (npm) ^2.3.14
@changesets/cli (npm) ^2.31.0
rimraf (npm) ^6.0.1
typescript (npm) ^5.7.2
Files by Type (count)
TypeScript
242
JSON
48
Markdown
42
YAML
6
Other (.mjs)
5
Other (no ext)
3
Other (.example)
1
Git Ignore
1
SQL
1
Dockerfile
1
Other (.dev)
1
Files by Type (size)
TypeScript
1MB
YAML
313KB
Markdown
181KB
JSON
63KB
Other (.mjs)
29KB
Dockerfile
3KB
Other (no ext)
1KB
SQL
1KB
Other (.dev)
959B
Git Ignore
319B
Other (.example)
305B

The LLM identified 5 files worth highlighting for reuse:

Provides core DDD building blocks including Entity, AggregateRoot, ValueObject, DomainEvent, and Repository patterns. These are framework-agnostic implementations that can be extracted and used in any TypeScript project with minimal modification. The code demonstrates proper encapsulation, immutability for value objects, and domain event publishing.

file: packages/ddd/src/index.ts ↗ | tags: #domain-driven-design #entity-pattern #value-object

Implements a NestJS-integrated domain event publisher that handles event batching and asynchronous publishing. This component decouples domain events from immediate publishing, allowing for better performance and reliability. It's highly reusable as it only depends on the DDD package and NestJS core, making it easy to extract for other CQRS implementations.

file: packages/cqrs/src/nest-cqrs-domain-event-publisher.ts ↗ | tags: #cqrs #event-sourcing #domain-events

Implements a robust circuit breaker pattern with state management (closed/open/half-open), failure thresholds, and automatic recovery testing. The implementation is framework-agnostic and could be used in any JavaScript/TypeScript application. It demonstrates sophisticated state handling and error filtering capabilities.

file: packages/resilience/src/circuit-breaker.ts ↗ | tags: #circuit-breaker #resilience-pattern #fault-tolerance

Provides a Prometheus-compatible metrics service with histogram and counter implementations that automatically handle cardinality bounds. The module is designed for easy extraction and use in other Node.js applications, demonstrating proper metric labeling, aggregation, and export functionality.

file: packages/observability/src/metrics.ts ↗ | tags: #prometheus #metrics-collection #observability

Implements a SQL query logger for Kysely that safely logs queries and parameters with automatic redaction of sensitive information. This reusable component demonstrates proper SQL formatting, duration tracking, and security-conscious logging practices that could be adapted for other SQL builders.

file: packages/kysely/src/kysely.logger.ts ↗ | tags: #sql-logging #query-observability #debugging
Last analyzed: 2026-08-10 00:36:45.398925
Next check: 2026-08-17 00:36:45.397458
$ submit: