Hexagonal Architecture PoC
The hexagonal architecture, or ports and adapters architecture, is an architectural pattern used in software design. It aims at creating loosely coupled application components that can be easily connected to their software environment by means of ports and adapters. This makes components exchangeable at any level and facilitates test automation.
$ docker-compose up -d
$ curl -X POST 'http://localhost:8080/transactions' -H 'accept: application/json' -H 'Content-Type: application/json' -d '{"user":"john", "amount":99.99, "description": "Transfer"}'
$ curl -X GET 'http://localhost:8080/transactions?user=john' -H 'accept: application/json'
If you have any feedback, please contact me at raphaeldias.ti@gmail.com