- Maven (optional)
- Java 8 or later
- JAVA_HOME environment variable set
mvn clean test
or mvnw clean test
mvn clean spring-boot:run
or mvnw clean spring-boot:run
Using curl or some http client send a request to localhost:8080/total
with the following schema
{
"start": "2019-02-22T01:00:29.836",
"end": "2019-02-22T04:00:29.836",
"ranges": [
{
"name": "familyA",
"type": "before",
"before": "2019-02-22T02:02:55.836",
"rate": 14
}
]
}