Git Product home page Git Product logo

nodecqrs's Introduction

Introduction

This is a sample implementation of CQRS / Eventsourcing Infrastructure in node.js using:

get it up and running

  1. start redis server

    cd redis-x.x.x
    // make
    ./src/redis-server
    
  2. start server in host and domain folder

    node server.js
    
  3. direct your browser to

    http://localhost:3000
    

the source code is well documented to understand the core principles.

why should i care?

got the sample - where to go now?

As of today i know of three implementations for doing (D)DDD / CQRS in node.js. Building a codebase for production is a whole different thing to doing a little show case / demo code. If it can break - it will break.

adrai's modules

This modules are the result of open sourcing parts of a large reallife project of a distributed system based on the principle of DDDD and CQRS. It's gone through a lot of iterations and should address most pitfalls.

The API is designed well so you can focus on the domain without worring to much about the infrastructure.

Documentation can be found here

petrjanda's module

Framework for non distributed system using couchDb as storage.

efacilitation's module

Build web applications based on Domain-driven Design and Layered Architecture.

complete list can be found under node modules

Which one to choose?

  1. If your project is simple enough to be implemented in a traditional way - go for the traditional approach

  2. If your project really profits from doing DDDD / CQRS it might be a good idea to create your own codebase (it's not to complicated, and compared to the overall project size worth the effort as it's the core of your distributed system)

  3. If you need to get fast results and more than a sample - i would try adrai's modules.

nodecqrs's People

Contributors

jamuhl avatar adrai avatar outten45 avatar theoleanse avatar

Watchers

 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.