Skip to content

Commit 08b77c5

Browse files
committed
added file structure.
1 parent 70fde67 commit 08b77c5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Diff for: vertical-slice-architecture/README.md

+23
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,29 @@ In Plain Words
4141
> Similarly, in software development, vertical slice architecture involves organizing the codebase based on features.
4242
> Each feature has its own self-contained set of components, making it easier to add, modify, or remove features without disrupting the entire application.
4343
44+
**File structure**
45+
> have a look in the below file structure, as per vertical slice architecture we are grouping model, view and controller per package associated with the feature.
46+
47+
```
48+
- ecommerce
49+
├── customer
50+
│ ├── Customer.java
51+
│ ├── CustomerRepository.java
52+
│ ├── CustomerService.java
53+
│ └── CustomerView.java
54+
├── order
55+
│ ├── Orders.java
56+
│ ├── OrderRepository.java
57+
│ ├── OrderService.java
58+
│ └── OrderView.java
59+
├── product
60+
│ ├── Product.java
61+
│ ├── ProductRepository.java
62+
│ ├── ProductService.java
63+
│ └── ProductView.java
64+
└── App.java
65+
```
66+
4467
## Class diagram
4568

4669
![Vertical Slice Architecture](./etc/vertical-slice-architecture.urm.png)

0 commit comments

Comments
 (0)