oswee / oswee.bak

Distributed Event-Sourced/CQRS microservice web application
1 stars 0 forks source link

Project structure for backend "CQRS" services #11

Open oswee opened 4 years ago

oswee commented 4 years ago

Given that project covers multiple business domains (Shipping, Warehousing, User, Authentication, Accounting, etc) and each of domains consists of multiple services:

I need to think how to structure those services. Main target is to achieve service isolation so that single team/person could work on it without navigating over whole repository and it should be deployable as single unit. At the same time code sharing and package reuse should be heavy accepted. All those services should be scoped to its domain/sub-domain.

oswee commented 4 years ago

Hexagonal/ Ports & Adapters / Onion/ Clean architecture.