Skip to content

willredington/babysitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Babysitter Problem

Prerequisites

  • Maven (optional)
  • Java 8 or later
  • JAVA_HOME environment variable set

Run Tests

mvn clean test or mvnw clean test

Run Service

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
		}
	]
}

About

submission for a demo api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages