EBD Connect - Model My Code - CQRS project template
✨ This workspace has been generated by Nx, a Smart, fast and extensible build system. ✨
Start the services
Gateway Service
This is the entrypoint you send your Commands and/or Queries.
To start the gateway service run nx serve ebd-api
. Default port is 3100
Command Service
This service is the core service and handles the Command side of CQRS. It registers commands with the server and implements the application layer and domain layer. If a command is succesfully executed on or more events will stored.
To start the command service run nx serve ebd-command
. This service only talks to Axon Server
Automation Service
This service implements the read-model and processor functionality for the automation pattern.
To start the automation service run nx serve ebd-automation
. This service only talks to Axon Server
Query Service
Responsible for executing a query.
To start the query service run nx serve ebd-query
. This service only talks to Axon Server
Query Projector Service
This service subscribes to events and build the projections for each of the queries. At the moment there is only support for Postgres , but it is easy to add support for other databases as long as they support jsonb.
To start the queryProjector service run nx serve ebd-query-projector
. This service only talks to Axon Server