Skip to content

jesperancinha/math-service-scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

math-service-scala


Generic badge

GitHub License

math-service-scala

Codacy Badge

Codacy Badge Coverage Status codecov

GitHub language count GitHub top language GitHub top language


How to run

sbt run

How to coverage

sbt jacoco

How to test

sbt test

Testing the application

1. Area and volume of a Cube

curl -X POST -H 'Content-Type: application/json' http://localhost:8080/cube -d '{"side": 10}'
{
  "volume": 1000.0,
  "area": 600.0

}

2. Area and volume of other polygons

curl -X POST -H 'Content-Type: application/json' http://localhost:8080/recPal -d '{"base": 10, "height": 20, "length" : 5}'
{
  "volume": 1000.0,
  "area": 700.0
}

About me

GitHub followers

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published