The Hexagonal Application Backend repo for the "EY Hexagonal Architecture" workshop in the Codemotion Meet Madrid on 01/16/2025.

The workshop product was to add support to the Pokemon API in this repository, as shown in the following screenshot:
curl
command or Postman software.- Docker Engine or Docker Desktop.
- Java™ Development Kit (JDK) version 17 or later.
- Apache Maven version 3.8.7 or later.
git clone github.com:macagua/codemotion-hexagonal-backend.git
cd codemotion-hexagonal-backend
Use Apache Maven for to build the jar
package, with the following commands:
mvn package
Use Docker to deploy the backend
application container, with the following commands:
docker-compose up -d
This repository contains at least two APIs, which I describe below:
/character
- Obtains all Rick and Morty characters.
/character/{id}
- Gets the information of a Rick and Morty character.
/api/pokemons
- Obtains all Pokemon records
/api/pokemon/{id}
- Obtains the information of a Pokemon
To testing the Pokemon API, with the following commands:
curl -X GET http://localhost:8081/api/pokemons
curl -X GET http://localhost:8081/api/pokemon/cel25-7