Domain-Driven Hexagon: Guide on Domain-Driven Design, Hexagonal architecture, best practices (TypeScript and NestJS examples)

Few months ago I’ve created a repository to gather some architectural patterns and best practices I’ve been using for the last few years, both at work and for personal projects. At first It was a project for myself, but it grew and have reached a point…


This content originally appeared on DEV Community and was authored by Sairyss

Few months ago I've created a repository to gather some architectural patterns and best practices I've been using for the last few years, both at work and for personal projects. At first It was a project for myself, but it grew and have reached a point that I can share it and hopefully more people can learn some useful practices from it.

Main emphasis of this project is to provide recommendations on how to design software applications. In this repository are presented some of the techniques, tools, best practices, architectural patterns and guidelines gathered from different sources.

Code examples are written using NodeJS, TypeScript, NestJS framework and Typeorm for the database access.

Though patterns and principles presented in this repository are framework/language agnostic, so above technologies can be easily replaced with any alternative. No matter what language or framework is used, any application can benefit from principles described in this repository.

This project's architecture is mainly based on:

  • Domain-Driven Design (DDD)
  • Hexagonal (Ports and Adapters) Architecture
  • Secure by Design
  • Clean Architecture
  • Onion Architecture
  • SOLID Principles
  • Software Design Patterns

And many other sources and best practices (links to additonal resources in every section).

Check out my repo to see full readme and code examples:
https://github.com/Sairyss/domain-driven-hexagon


This content originally appeared on DEV Community and was authored by Sairyss


Print Share Comment Cite Upload Translate Updates
APA

Sairyss | Sciencx (2021-02-20T18:52:53+00:00) Domain-Driven Hexagon: Guide on Domain-Driven Design, Hexagonal architecture, best practices (TypeScript and NestJS examples). Retrieved from https://www.scien.cx/2021/02/20/domain-driven-hexagon-guide-on-domain-driven-design-hexagonal-architecture-best-practices-typescript-and-nestjs-examples/

MLA
" » Domain-Driven Hexagon: Guide on Domain-Driven Design, Hexagonal architecture, best practices (TypeScript and NestJS examples)." Sairyss | Sciencx - Saturday February 20, 2021, https://www.scien.cx/2021/02/20/domain-driven-hexagon-guide-on-domain-driven-design-hexagonal-architecture-best-practices-typescript-and-nestjs-examples/
HARVARD
Sairyss | Sciencx Saturday February 20, 2021 » Domain-Driven Hexagon: Guide on Domain-Driven Design, Hexagonal architecture, best practices (TypeScript and NestJS examples)., viewed ,<https://www.scien.cx/2021/02/20/domain-driven-hexagon-guide-on-domain-driven-design-hexagonal-architecture-best-practices-typescript-and-nestjs-examples/>
VANCOUVER
Sairyss | Sciencx - » Domain-Driven Hexagon: Guide on Domain-Driven Design, Hexagonal architecture, best practices (TypeScript and NestJS examples). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/02/20/domain-driven-hexagon-guide-on-domain-driven-design-hexagonal-architecture-best-practices-typescript-and-nestjs-examples/
CHICAGO
" » Domain-Driven Hexagon: Guide on Domain-Driven Design, Hexagonal architecture, best practices (TypeScript and NestJS examples)." Sairyss | Sciencx - Accessed . https://www.scien.cx/2021/02/20/domain-driven-hexagon-guide-on-domain-driven-design-hexagonal-architecture-best-practices-typescript-and-nestjs-examples/
IEEE
" » Domain-Driven Hexagon: Guide on Domain-Driven Design, Hexagonal architecture, best practices (TypeScript and NestJS examples)." Sairyss | Sciencx [Online]. Available: https://www.scien.cx/2021/02/20/domain-driven-hexagon-guide-on-domain-driven-design-hexagonal-architecture-best-practices-typescript-and-nestjs-examples/. [Accessed: ]
rf:citation
» Domain-Driven Hexagon: Guide on Domain-Driven Design, Hexagonal architecture, best practices (TypeScript and NestJS examples) | Sairyss | Sciencx | https://www.scien.cx/2021/02/20/domain-driven-hexagon-guide-on-domain-driven-design-hexagonal-architecture-best-practices-typescript-and-nestjs-examples/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.