Coder Social home page Coder Social logo

antoniomartinezfernandez / ddd-master Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bartekck/ddd-master

0.0 0.0 0.0 576 KB

The root of the "ddd-master" repository contains a few concepts such as "Results" in TypeScript, "Command Bus", and "Query Bus".

License: MIT License

Shell 1.18% JavaScript 0.52% TypeScript 98.31%

ddd-master's Introduction

@ddd-master/* root repository

codecov

npm npm npm

The ddd-master monorepo is a collection of TypeScript packages designed to support Domain-Driven Design (DDD) architecture in your applications. It includes the following packages:

  1. @ddd-master/result: A package for handling success and failure results in DDD applications.
  2. @ddd-master/command-bus: A package for implementing the command bus pattern in DDD applications.
  3. @ddd-master/query-bus: A package for implementing the query bus pattern in DDD applications.

Installation

To use any of the packages in the ddd-master monorepo, you can install them individually using npm. For example, to install the @ddd-master/result package, you can run:

npm install @ddd-master/result

Similarly, you can install the @ddd-master/command-bus and @ddd-master/query-bus packages by replacing @ddd-master/result with the respective package names.

Packages

1. @ddd-master/result

The @ddd-master/result package provides classes and types for handling success and failure results in DDD applications. It allows you to encapsulate the outcome of operations in a structured and type-safe manner. You can find more details about this package in the @ddd-master/result README.

2. @ddd-master/command-bus

The @ddd-master/command-bus package implements the command bus pattern in DDD applications. It provides a mechanism for decoupling command senders from command handlers, allowing you to handle commands in a centralized and scalable way. You can find more details about this package in the @ddd-master/command-bus README.

3. @ddd-master/query-bus

The @ddd-master/query-bus package implements the query bus pattern in DDD applications. It provides a mechanism for executing queries and retrieving query results in a centralized and efficient manner. You can find more details about this package in the @ddd-master/query-bus README.

How to release new lib version

  1. Create new branch from master with name release/vX.X.X
  2. Update version in package.json and package-lock.json files by command
  npm run bump:patch:all
  1. Commit changes with message chore: bump version to vX.X.X
  2. Create PR from release/vX.X.X to master branch
  3. Merge PR to master branch
  4. Checkout into master branch and pull changes
  5. Create new tag with name vX.X.X and push it to remote
  git tag vX.X.X
  git push origin vX.X.X
  1. Create new release from tag vX.X.X in GitHub

Contributing

Contributions to the ddd-master monorepo are welcome! Feel free to open issues or submit pull requests on the GitHub repository. Please follow the code of conduct when contributing.

License

The ddd-master monorepo and its packages are open-source software licensed under the MIT License.

ddd-master's People

Contributors

bartekck 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.