{"id":26095362,"url":"https://github.com/thenativeweb/cqrs-sample","last_synced_at":"2025-04-12T10:07:43.704Z","repository":{"id":5800889,"uuid":"7015520","full_name":"thenativeweb/cqrs-sample","owner":"thenativeweb","description":"CQRS, EventSourcing, (DDDD) Sample in node.js","archived":false,"fork":false,"pushed_at":"2020-09-01T06:31:52.000Z","size":117,"stargazers_count":150,"open_issues_count":9,"forks_count":50,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-12T10:07:28.875Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thenativeweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-05T10:24:15.000Z","updated_at":"2025-04-02T06:54:24.000Z","dependencies_parsed_at":"2022-08-30T21:52:16.821Z","dependency_job_id":null,"html_url":"https://github.com/thenativeweb/cqrs-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenativeweb%2Fcqrs-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenativeweb%2Fcqrs-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenativeweb%2Fcqrs-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenativeweb%2Fcqrs-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thenativeweb","download_url":"https://codeload.github.com/thenativeweb/cqrs-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550635,"owners_count":21122933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-09T13:15:55.597Z","updated_at":"2025-04-12T10:07:43.665Z","avatar_url":"https://github.com/thenativeweb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚠️ IMPORTANT NEWS! 📰\n\nI’ve been dealing with CQRS, event-sourcing and DDD long enough now that I don’t need working with it anymore unfortunately, so at least for now this my formal farewell!\n\nI want to thank everyone who has contributed in one way or another.\nEspecially...\n\n- [Jan](https://github.com/jamuhl), who introduced me to this topic.\n- [Dimitar](https://github.com/nanov), one of the last bigger contributors and maintainer.\n- My last employer, who gave me the possibility to use all these CQRS modules in a big Cloud-System.\n- My family and friends, who very often came up short.\n\nFinally, I would like to thank [Golo Roden](https://github.com/goloroden), who was there very early at the beginning of my CQRS/ES/DDD journey and is now here again to take over these modules.\n\nGolo Roden is the founder, CTO and managing director of [the native web](https://www.thenativeweb.io/), a company specializing in native web technologies. Among other things, he also teaches CQRS/ES/DDD etc. and based on his vast knowledge, he brought wolkenkit to life.\n[wolkenkit](https://wolkenkit.io) is a CQRS and event-sourcing framework based on Node.js. It empowers you to build and run scalable distributed web and cloud services that process and store streams of domain events.\n\nWith this step, I can focus more on [i18next](https://www.i18next.com), [locize](https://locize.com) and [localistars](https://localistars.com). I'm happy about that. 😊\n\nSo, there is no end, but the start of a new phase for my CQRS modules. 😉\n\nI wish you all good luck on your journey.\n\nWho knows, maybe we'll meet again in a github issue or PR at [i18next](https://github.com/i18next/i18next) 😉\n\n\n[Adriano Raiano](https://twitter.com/adrirai)\n\n---\n\n## Introduction\n\nThis is a sample implementation of CQRS / Eventsourcing Infrastructure in node.js using:\n\n- [domain](https://github.com/adrai/node-cqrs-domain)\n- [eventdenormalizing](https://github.com/adrai/node-cqrs-eventdenormalizer)\n- [viewmodel, read/write repository](https://github.com/adrai/node-viewmodel)\n- [eventstore](https://github.com/jamuhl/nodeEventStore)\n- [business-rules and validation](https://github.com/adrai/rule-validator)\n\n### get it up and running\n\n0.  install and start [Redis](https://redis.io/)\n        \n1.  start server in _host_ and _domain_ folder\n\n        node server.js\n        \n1.  direct your browser to \n\n        http://localhost:3000\n        \nthe source code is well documented to understand the core principles.\n\n## why should i care?\n\n- [Clarified CQRS - Udi Dahan](http://www.udidahan.com/2009/12/09/clarified-cqrs/)\n- [Top 10 Reasons to do CQRS - Rinat Abdullin](http://abdullin.com/journal/2010/10/22/top-10-reasons-to-do-cqrs-in-a-pdf.html)\n- [CQRS why, what, how - Jeppe Cramon](http://www.slideshare.net/jeppec/cqrs-why-what-how)\n               \n## got the sample - where to go now?\n\nThis modules are the result of open sourcing parts of a large reallife project of a distributed system based on the principle of \nDDDD and CQRS. It's gone through a lot of iterations and should address most pitfalls.\n\nThe API is designed well so you can focus on the domain without worring to much about the infrastructure.\n\n- [domain](https://github.com/adrai/node-cqrs-domain)\n- [eventdenormalizing](https://github.com/adrai/node-cqrs-eventdenormalizer)\n- [viewmodel, read/write repository](https://github.com/adrai/node-viewmodel)\n- [eventstore](https://github.com/jamuhl/nodeEventStore)\n- [proper dequeing](https://github.com/adrai/node-queue)\n- [business-rules and validation](https://github.com/adrai/rule-validator)\n- [message bus](https://github.com/adrai/rabbitmq-nodejs-client)\n\n- [without distributing](https://github.com/adrai/node-cqs)\n\n\nDocumentation can be found [here](http://adrai.github.com/cqrs/)\n\n\n## other examples\n\n- [https://github.com/smariussorin/EventSourcedMicroservices](https://github.com/smariussorin/EventSourcedMicroservices)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenativeweb%2Fcqrs-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthenativeweb%2Fcqrs-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenativeweb%2Fcqrs-sample/lists"}