Add project-structure module: the same Boot 4.1 app laid out package-by-layer and package-by-feature, with the public surface counted and the javac boundary captured
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HhW8LD8r3EigoBaCGrQZx5 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HhW8LD8r3EigoBaCGrQZx5
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
# The same application, two layouts (src/main/java/com/ankurm/structure)
|
||||
|
||||
|
||||
--- bylayer ---
|
||||
bylayer/
|
||||
ByLayerApp.java
|
||||
controller/
|
||||
BookController.java
|
||||
dto/
|
||||
BookRequest.java
|
||||
BookResponse.java
|
||||
exception/
|
||||
ApiExceptionHandler.java
|
||||
BookNotFoundException.java
|
||||
model/
|
||||
Book.java
|
||||
repository/
|
||||
BookRepository.java
|
||||
service/
|
||||
BookService.java
|
||||
(9 source files)
|
||||
|
||||
--- byfeature ---
|
||||
byfeature/
|
||||
ByFeatureApp.java
|
||||
book/
|
||||
Book.java
|
||||
BookCatalog.java
|
||||
BookController.java
|
||||
BookNotFoundException.java
|
||||
BookRepository.java
|
||||
BookRequest.java
|
||||
BookResponse.java
|
||||
BookService.java
|
||||
loan/
|
||||
Loan.java
|
||||
LoanController.java
|
||||
LoanRequest.java
|
||||
LoanService.java
|
||||
shared/
|
||||
ApiException.java
|
||||
ApiExceptionHandler.java
|
||||
(15 source files)
|
||||
Reference in New Issue
Block a user