|
|
|
|
|
by shekharshan
2053 days ago
|
|
To give a more concrete example, we have a single Angular app. The app has two areas, one where the user can search for records using free text while another where the user can create or update records. Our source of truth is a Postgres database where all updates and inserts are sent using a microservice. The data flows from Postgres to Elasticsearch using SQS in AWS. The Angular app then queries Elasticsearch using a different microservice. So essentially our command domain model is separate from our query domain model. |
|