Skip to content

This is a project to explain hexagonal architecture and unit tests in node.js

Notifications You must be signed in to change notification settings

javierlecca/nodejs-hexagonal-architecture-and-unit-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOMAIN-DRIVEN DESIGN WITH NODEJS AND UNIT TESTS

This is a project to explain hexagonal architecture and unit tests in node.js

What is the Domain?

To define domain-driven design we should first establish what we mean by domain in this context (and in development in general). The common dictionary definition of domain is: “A sphere of knowledge or activity.” Drilling down a bit from that, domain in the realm of software engineering commonly refers to the subject area on which the application is intended to apply. In other words, during application development, the domain is the “sphere of knowledge and activity around which the application logic revolves.” Another common term used during software development is the domain layer or domain logic which may be better known to many developers as the business logic. The business logic of an application refers to the higher-level rules for how business logic interact with one another to create and modify modelled data.

Communication flow

myimage-alt-tag

Dependencies

You need install mongodb in your localhost. after that you on clone the project, downoland the packages and run it.

GO version

Base Framework

DB Connection

$ git clone https://github.com/javierlecca/nodejs-hexagonal-architecture-and-unit-test.git
$ npm i
$ node index

About

This is a project to explain hexagonal architecture and unit tests in node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published