Simple project to create armies with aleatories troops.
This project is a maven project that uses Java 11 and the Micronaut Framework.
- Install the JDK 11.
- Setup the JAVA_HOME environment variable.
Run the following command on the root directory: ./mvnw clean package && ./mvnw mn:run
Used to create one Army
Payload: { "name": "Army 01", "numberOfSoldiers": 1000 }
Used to create many Armies
Payload: { "numberOfArmies": 100, "numberOfSoldiers": 1000 }