Skip to content

Instantly share code, notes, and snippets.

@FongX777
Created September 20, 2019 15:41
Show Gist options
  • Save FongX777/9dbb5dce090092604d032fbaf05e7173 to your computer and use it in GitHub Desktop.
Save FongX777/9dbb5dce090092604d032fbaf05e7173 to your computer and use it in GitHub Desktop.
e-commerce
├── catalog
│   ├── applicationService
│   │   ├── AddProduct.ts
│   │   ├── DeleteProduct.ts
│   │   └── UpdateProduct.ts
│   ├── domain
│   │   ├── event
│   │   │   ├── ProductCreated.ts
│   │   │   └── ProductUpdated.ts
│   │   └── model
│   │   ├── Product.ts
│   │   └── Viewer.ts
│   └── infrastructure
├── identity
│   ├── applicationService
│   │   ├── MemberLogin.ts
│   │   ├── MemberLogout.ts
│   │   ├── MememberUpdate.ts
│   │   ├── RegisterMember.ts
│   │   └── UpdateContract.ts
│   ├── domain
│   │   ├── event
│   │   │   └── ContractUpdated.ts
│   │   └── model
│   │   ├── Admin.ts
│   │   └── Member.ts
│   └── infrastructure
└── purchase
├── applicationService
│   └── PlaceOrder.ts
├── domain
│   ├── event
│   │   ├── OrderClosed.ts
│   │   └── OrderPaid.ts
│   └── model
│   └── Order.ts
└── infrastructure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment