Heroes is a rest api for demoing purposes
To simply run the api use:
./gradlew bootRun -p Drivers
To generate the excutable jar use:
./gradlew assemble
Then in Drivers folder we can create a docker image:
docker build --build-arg JAR_FILE=build/libs/\*.jar -t mindata/heroes .
And run it with this:
docker run --name hero -p 8080:8080 mindata/heroes
Documentation is in swagger, with app running access this, in development environment use admin:adminadmin
to enter. Also, we have added a Postman collection (Hero.postman_collection.json) with examples of what the API can do.