Hexagonal project example
Clone repository git clone https://github.com/JonasXPX/pg-user-hexagonal.git
Deploy with
docker-compose up
Register a user
curl --request POST \
--url http://localhost:8080/pg-user \
--header 'Content-Type: application/json' \
--data '{
"id": null,
"name": "test"
}'
List the users
curl --request GET \
--url http://localhost:8080/pg-user