RepositoryTypeScriptNLHà Lan
thisisagile

thisisagile/easy

Straightforward library for building domain-driven microservice architectures, implementing a simple evolutionary architecture.

133sao
20fork
1issue
0lượt xem

🏗️ easy - Framework TypeScript xây dựng microservice đơn giản

Framework easy cung cấp lớp nền tảng cho từng layer kiến trúc 4 lớp: services, process, domain, data.

Framework easy là thư viện TypeScript giúp xây dựng kiến trúc microservice theo phong cách Domain-Driven Design và evolutionary architecture. Được rút gọn từ nhiều dự án thực tế tại các công ty như công ty bảo hiểm Hà Lan, công ty phần mềm IoT, công ty thương mại điện tử... Framework cung cấp các lớp nền (layer supertypes) cho từng thành phần: resource, use case, entity, repository, gateway.

✨ Điểm nổi bật

  • Kiến trúc 4 lớp: services, process, domain, data — mỗi lớp có trách nhiệm rõ ràng.
  • Lớp nền tảng: cung cấp root classes cho resource, use case, entity, value object, repository, gateway.
  • Service root: khởi tạo service, đăng ký resource, thiết lập port bằng fluent API.
  • Middleware tích hợp sẵn: correlation, error, notFound — dùng express mặc định, dễ thay thế.
  • Entity mặc định UUID: entity inherit từ lớp Entity, tự động sinh id UUID.
  • Hỗ trợ testing: package easy-test với matcher như toMatchText, toMatchPath.
  • Mở rộng linh hoạt: thiết kế đơn giản, dễ tùy biến và mở rộng.
  • Được chứng minh trên thực tế: áp dụng tại nhiều doanh nghiệp lớn.

💡 Vì sao đáng chú ý

Framework easy khác biệt ở sự đơn giản hóa kiến trúc 4 lớp chuẩn DDD, giúp team nhanh chóng triển khai microservice ổn định. Thay vì xây từ đầu, developer chỉ cần kế thừa lớp nền tương ứng và tập trung vào business logic. Phù hợp cho các hệ thống cần kiến trúc rõ ràng, dễ bảy trì, triển khai nhanh trên Node.js.


#TypeScript #Microservices #DomainDrivenDesign #EvolutionaryArchitecture #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryTypeScript
nestjs/nest

A progressive TypeScript framework for Node.js backends: from a small API in one file to efficient, scalable, enterprise-grade systems 🚀

77.2k
Nov 30, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.9k
Nov 30, 2026
RepositoryTypeScript
react-hook-form/react-hook-form

📋 React Hooks for form state management and validation (Web + React Native)

44.9k
Dec 3, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

213.0k
Dec 3, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

488.2k
Dec 3, 2026
RepositoryTypeScript
firecrawl/firecrawl

Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.

216.1k
Dec 3, 2026
RepositoryPython
microsoft/markitdown

Python tool for converting files and office documents to Markdown.

199.6k
Dec 3, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
156.6M
Jun 1, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.8k
Oct 31, 2026