Giter Club home page Giter Club logo

ddd-cqrs-es-aws-sam's People

Contributors

dependabot[bot] avatar dlydiard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ddd-cqrs-es-aws-sam's Issues

Question about services in the command handlers

Hi,

Thanks for publishing this- your repo has been very helpful for understanding CQRS and event sourcing. I am wondering why you chose to create a service class call the repository from the service class, rather than directly from the command handler? I was trying to find more information about services in command handlers but did not find much. Thanks!

abstract code into a serverless compatible framework?

one of the drivers for creating this project, is that i couldn't find any examples of DDD/CQRS/Event Sourcing using AWS serverless architecture.

most node frameworks like nestjs and node-ts/bus only work as a standalone node application.

autodll-plugin currently not used because it breaks AWS CodeBuild

auto-dll plugin makes builds significantly faster, but currently breaks CodeBuild. auto-dll-plugin also breaks debugging with the current (commented out) approach, since the dll file and lambda function are merged, but the source map files are not re-mapped.

create more unit tests

this depends on #7, or alternatively create mock objects for tests that include aws resources...

also, create a UT to stress test event ordering and this race condition scenario #2

cover DLQ and disaster recovery scenarios

code should handle scenarios when services go down or fail. strict ordering needs to stay intact on retries, or services need to be idempotent.

create UT's and/or test harnesses for these scenarios.

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.