Skip to content

frankowskid/kalah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kalah game

##Compile:

mvn package

##Test

mvn test

for mutation testing

mvn org.pitest:pitest-maven:mutationCoverage

##Run: java -jar ./target/kalahgame-1.0-SNAPSHOT.jar

##Healthcheck By default, app starts on: 8080 port

You can check readiness with:

curl localhost:8080/actuator/health
{"status":"UP"}

##To Play: #Create new game:

curl --header "Content-Type: application/json" \
--request POST \
http://<host>:<port>/games

#Make a move

curl --header "Content-Type: application/json" \
--request PUT \
http://<host>:<port>/games/{gameId}/pits/{pitId}

##API Application API can be found under:

http://localhost:8080/swagger-ui/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages