Giter VIP home page Giter VIP logo

nodejs-hexagonal-architecture-and-unit-test's Introduction

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

nodejs-hexagonal-architecture-and-unit-test's People

Contributors

javierlecca avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.