This service is pretty simple and does not have all of the components shown in the diagram below. However the diagram shows the components that would be present in a more fully featured service.
The service is built using Akka HTTP
We use sbt as our build tool
sbt clean compile test
The following command will run the service
sbt run
or with Docker
sbt docker:publishLocal
eval "$(docker-machine env default)"
docker run -it phone-number-validation:1.0-SNAPSHOT
When running locally the Swagger API documentation is available at the following URL