Skip to content

Commit de9f95e

Browse files
authored
Update README.md
1 parent fcc3b10 commit de9f95e

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

README.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,32 @@
1-
# nodejs-hexagonal-architecture-and-unit-test
1+
# DOMAIN-DRIVEN DESIGN WITH NODEJS AND UNIT TESTS
22
This is a project to explain hexagonal architecture and unit tests in node.js
33

4-
### ENJOY
4+
## What is the Domain?
5+
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.”
6+
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.
7+
8+
9+
## Communication flow
10+
11+
![myimage-alt-tag](https://miro.medium.com/max/810/1*b75xN3W9mQzta37pT-siRQ.png)
12+
13+
14+
## Dependencies
515
You need install mongodb in your localhost.
616
after that you on clone the project, downoland the packages and run it.
717

18+
### GO version
19+
20+
- [Nodejs v8.12](https://nodejs.org/en/)
21+
22+
### Base Framework
23+
- [Express](https://expressjs.com/)
24+
25+
### DB Connection
26+
- [Mongoose](https://mongoosejs.com/)
27+
828
```sh
929
$ git clone https://github.com/javierlecca/nodejs-hexagonal-architecture-and-unit-test.git
1030
$ npm i
1131
$ node index
1232
```
13-

0 commit comments

Comments
 (0)