Skip to content

ricardogoncalves/sample-project-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Project API

Simple project to create armies with aleatories troops.

This project is a maven project that uses Java 11 and the Micronaut Framework.

Requirements

Build & start up application

Run the following command on the root directory: ./mvnw clean package && ./mvnw mn:run

Availabe endpoints

POST /army/factory/one

Used to create one Army

Payload: { "name": "Army 01", "numberOfSoldiers": 1000 }

POST /army/factory/many

Used to create many Armies

Payload: { "numberOfArmies": 100, "numberOfSoldiers": 1000 }

About

Simple project to create armies with aleatories troops.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published