site and webhooks packages stubbed
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# V2 - Attempt 2
|
||||
|
||||
|
||||
Looking to follow the [CQRS](https://martinfowler.com/bliki/CQRS.html) pattern.
|
||||
|
||||
The database will follow the [event sourcing](https://martinfowler.com/eaaDev/EventSourcing.html) database pattern.
|
||||
All events (or commands) will be stored in a respective event series, and all database reads will be from views that are projections, reductions, aggregations of those event series.
|
||||
|
||||
|
||||
## Application/directory structure
|
||||
- /internal
|
||||
- /site: website
|
||||
- /webhooks: webhooks for platform events
|
||||
- /domains: packages for each domain
|
||||
- /store_events: storing and events
|
||||
- /platforms: ecommerce platform domains
|
||||
- /tiktok: interface with tiktok
|
||||
- ... etc
|
||||
- ... etc
|
||||
|
||||

|
||||
|
||||
|
||||
## Architectural and Software Diagrams
|
||||
|
||||
|
||||
### Event Sourcing Architecture
|
||||

|
||||
|
||||
|
||||
### Event Structure
|
||||
|
||||

|
||||
|
||||
|
||||
### Store Event Database Tables
|
||||
|
||||

|
||||
|
||||
|
||||
### All Diagrams
|
||||
|
||||
All diagrams are stored in the [diagrams](./diagrams) directory
|
||||
|
||||
Reference in New Issue
Block a user