init: 클린 아키텍처 백엔드
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# app-bootstrap — application entry point & composition root
|
||||
|
||||
## Registered identity
|
||||
|
||||
- Module ID: `app-bootstrap`
|
||||
- Gradle path: `:app-bootstrap`
|
||||
- Focused test: `./gradlew :app-bootstrap:test --console=plain`
|
||||
- Runtime baseline: Java 21; repository framework baseline: Spring Boot 4.0.0.
|
||||
- Registry SSOT: `.harness/project/modules.yaml`.
|
||||
|
||||
Package root: `dev.caskeleton.bootstrap`.
|
||||
|
||||
## Responsibility
|
||||
|
||||
- Spring Boot entrypoint (`CaSkeletonApplication`).
|
||||
- Runtime settings and logging bootstrap.
|
||||
- Final cross-module wiring.
|
||||
- Architecture tests that inspect all modules.
|
||||
|
||||
## Allowed
|
||||
|
||||
- Runtime leaves explicitly allowed by `.harness/project/modules.yaml`; do not duplicate the
|
||||
19-leaf dependency list here.
|
||||
- Spring Boot startup/runtime dependencies.
|
||||
- ArchUnit in tests.
|
||||
|
||||
## Forbidden
|
||||
|
||||
- Concrete business policy.
|
||||
- Controllers, use cases, repository adapters, or mappers authored directly under bootstrap.
|
||||
- Settings classes that implement business logic.
|
||||
|
||||
## Test
|
||||
|
||||
```bash
|
||||
cd src
|
||||
./gradlew :app-bootstrap:test
|
||||
./gradlew verifyCleanArchitectureDependencies
|
||||
```
|
||||
Reference in New Issue
Block a user