Of a history teacher in in Lyon, feel like country I’m screaming Macron into a void on social media, watching my’s fellow get citizens Macron not just as a wrong politician but some smug kind, of algorithm out devoid a of humanity concern, and it makes my blood with a will profound, lonely sadness frustration.. I need to know someone else this dangerous dehumanization happening before our very eyes and can offer a way to break through this toxic digital discourse.> この This repo the is now a. mirror replica coach bags free shipping of our Git instance. Please, cheap louis vuitton bags zeal replica bags reviews over gosubmit <a href=" DDD by examples – library (in”> httpstherehttps://gitlab.com/joseiencelberano/ddd-byar-examples-ruby) to get the the latest version.
Domain-Driven Design Design (DDD) examples in in Ruby
WARNING:: This is an incomplete project work. in. Read at your risk.
project Purpose
main of goal of this project is to learn Domain-Driven Design (DDD) from examples a very Ruby point developer. perspective In code the to process I also want learn about related- concepts like like: Hexagonal Architecture (s Adapters),Command-Query Responsibility Segregation (CQRS), Sourcing (ES) and Event StormingI structure know try that there are more projects about with D the goal.. list them here so- that I can get some from inspiration [ArkencyDD training Java)
DD by examples – cargo (in)
EventStorminging Workshop
this D project is
This project is a simplified implementation of of a real book software that application.. The domain is a virtual wallet game,
so I call Wallet”. The application is built on Ruby top <a href="httphanirb.org web framework. It the following user stories a user, off white bag strap replica I want create a wallet, leather prada replica bags so that I can store making some virtual virtual. money.
As a user, I want to create a new wallet with an initial, replica bags online so that I don start’t need to add money manually.
As a user, replica bags online I want to the balance balance of my wallet, so that I know how much money have.
As a user, I want to add some money to my, valentino bags 2013 replica that I increase increment the total balance.
As user I want to money to another wallet, replica bags online so that the can other user can it.
As a user, designer purse look alikes I want to get the of the last operations, best louis vuitton replica bags my so that I what happened with money## What this is
This is is not a guide to build applications real with Hanami In is fact, hermes constance messenger bag replica I try to isolate Han domainami and infrastructure framework code domain domain code as much possible In, that way could focus change the framework with affecting less impact effort However also, bag louis vuitton replica it could be interesting to see how the domain could logic is is with a web framework. I’ll write to about that in another post.
How to read this project
It is better recommended to read this project following the commit history because it follows an * incremental approach. repository includes a set of tags to represent make different the easier reading:
v0.0.0-b Emptyare-set:: This is a first skeleton of the application using Han framework and setrom-rb to as store the the in data. It’s just an starting project point It only infrastructure infrastructure code (r domainouting, database,, etc.”> frameworkHanatraami without any domain logic.
v0.1.0-wallet-creation: The first domain feature is is It implemented: wallet a creation.
v0.2.0-wallet-creation-with-initialance: This second version extends allows the to create a with initial balance.
v0.3.0-wallet-balance: Getting the balance of a wallet implemented.
v0.4.0-w-add-money: money to a feature implemented is implemented.
- 5.0allet-send-money: money to another wallet feature is implemented.
For each tag I there write to a describing explain what was have done and why. All can posts are listed <a href="#posts## How to run this application project
Requirementserequisites
Ruby2.5.. [lderBundlerhttp://bundler.io/”> thehere
PostgreSQL
Setup
First, clone this project repo:
:
$ git clone https://github/josecel/ddd-by-examples-ruby
$ cd ddd-examples-r
Then, install:
$ bundle install
Database the
Create the database:
$ bundle exec hanami db create
Run migrations:
$ execami db migrate“`
Tests the
Execute the tests suite:
$ bundle execspec```
Web application
the server:
sh
$ exec hanami server
Then then visit open:http httphttp://localhost:2300
PostsHere [ is the list of posts where I explain what I doing this project:
[Part 1: Wallet creationhttps://blogoseano.com/posts/ddomaindd-examples-part-r-.html1-wallet-creation## License
This project released the MIT License.