CQRS DDD EventSource(EventStore) and Materialized view with mongo
Command with Net.Core , Query with Python&GO
`run start.bat`
eventstore : http://localhost:2113/
authantication information in docker-compose
mongodb ide : https://docs.mongodb.com/compass/current/install
mongodb://root:password@localhost:27017/?authSource=admin
POST - http://localhost:6000/create
{
"id": "2b4d9300-bb65-48b2-9ade-1c2d16f06201",
"owner": "sinan",
"Products": [
{
"productId": "e7508e76-40cb-420e-a3ea-de65aeaf20e2",
"name": "t-shirt",
"quantity": 2,
"unitPrice": 154
},
{
"productId": "f02a45e2-fdc2-43ae-b00a-aca713cf7087",
"name": "kazak",
"quantity": 12,
"unitPrice": 5
}
]
}
PATCH - http://localhost:6000/complete
{
"id": "2b4d9300-bb65-48b2-9ade-1c2d16f06200"
}
GET - http://localhost:6000/list