https://medium.com/slalom-engineering/clean-architecture-with-java-11-f78bba431041
Java 11
> java -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
./gradlew clean build
java -jar application/spring-app/build/libs/spring-app-1.0.0.jar
java -jar application/vertx-app/build/libs/vertx-app-1.0.0-fat.jar
POST: http://localhost:8080/users
Body:
{
"email": "test@test.com",
"password": "mypassword",
"lastName": "Doe",
"firstName": "John"
}
GET: http://localhost:8080/users
GET: http://localhost:8080/users/0675171368e011e882d5acde48001122
GET: http://localhost:8080/login?email=test@test.com&password=mypassword