MCPcopy Index your code
hub / github.com/dev-aritra/spring-hexagonal

github.com/dev-aritra/spring-hexagonal @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
46 symbols 106 edges 17 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Hexagonal architecture with Domain, Presenter & Entity segregation on Spring WebFlux

A simple spring WebFlux application, to demonstrate Hexagonal architecture with Domain, Presenter & Entity segregation

Read the complete guide here

https://medium.com/javarevisited/hexagonal-architecture-with-domain-presenter-entity-segregation-on-spring-webflux-ef053a495bdc

Author

Extension points exported contracts — how you extend this code

StorePort (Interface)
(no doc) [4 implementers]
src/main/java/tech/aritra/springhexagonal/application/ports/out/StorePort.java
StoreManagementUseCase (Interface)
(no doc) [4 implementers]
src/main/java/tech/aritra/springhexagonal/application/ports/in/StoreManagementUseCase.java
UpdateStoreCountInZipCodePort (Interface)
(no doc) [2 implementers]
src/main/java/tech/aritra/springhexagonal/application/ports/out/UpdateStoreCountInZipCodePort.java
StoreRepository (Interface)
(no doc)
src/main/java/tech/aritra/springhexagonal/adapters/persistance/StoreRepository.java
ZipCodeRepository (Interface)
(no doc)
src/main/java/tech/aritra/springhexagonal/adapters/persistance/ZipCodeRepository.java

Core symbols most depended-on inside this repo

getLocation
called by 7
src/main/java/tech/aritra/springhexagonal/application/domain/Store.java
getZipCode
called by 4
src/main/java/tech/aritra/springhexagonal/application/domain/Location.java
addStore
called by 2
src/main/java/tech/aritra/springhexagonal/application/ports/out/StorePort.java
getLatitude
called by 2
src/main/java/tech/aritra/springhexagonal/application/domain/Location.java
getLongitude
called by 2
src/main/java/tech/aritra/springhexagonal/application/domain/Location.java
getId
called by 2
src/main/java/tech/aritra/springhexagonal/application/domain/Store.java
getName
called by 2
src/main/java/tech/aritra/springhexagonal/application/domain/Store.java
findByZipCode
called by 1
src/main/java/tech/aritra/springhexagonal/adapters/persistance/ZipCodeRepository.java

Shape

Method 29
Class 12
Interface 5

Languages

Java100%

Modules by API surface

src/main/java/tech/aritra/springhexagonal/application/domain/Store.java6 symbols
src/main/java/tech/aritra/springhexagonal/application/domain/Location.java6 symbols
src/main/java/tech/aritra/springhexagonal/adapters/persistance/entity/StoreEntity.java4 symbols
src/main/java/tech/aritra/springhexagonal/adapters/persistance/StoreManagementDBAdapter.java4 symbols
src/main/java/tech/aritra/springhexagonal/application/StoreService.java3 symbols
src/main/java/tech/aritra/springhexagonal/adapters/web/presenter/StorePresenter.java3 symbols
src/main/java/tech/aritra/springhexagonal/adapters/web/StoreHandler.java3 symbols
src/test/java/tech/aritra/springhexagonal/SpringHexagonalApplicationTests.java2 symbols
src/main/java/tech/aritra/springhexagonal/application/ports/out/UpdateStoreCountInZipCodePort.java2 symbols
src/main/java/tech/aritra/springhexagonal/application/ports/out/StorePort.java2 symbols
src/main/java/tech/aritra/springhexagonal/application/ports/in/StoreManagementUseCase.java2 symbols
src/main/java/tech/aritra/springhexagonal/adapters/web/StoreRouter.java2 symbols

Datastores touched

(mongodb)Database · 1 repos
storesDBDatabase · 1 repos

For agents

$ claude mcp add spring-hexagonal \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact