This is an simple example about how to build an application with Hexagonal Architecture in a Spring Data Application.
This application uses a H2 Data Base, wich is a Data Base in memory.
If you want more information you can take a look in this post: https://refactorizando.com/ejemplo-de-arquitectura-hexagonal/
you have two different endpoints:
Post - http://localhost:8080/users