This sample shows how easy to integrate Doma with Spring Boot .
Java 8 is needed to run this sample.
git clone https://github.com/domaframework/spring-boot-sample.git
cd spring-boot-sample
./gradlew bootRun
http://localhost:8080/
JSON Response:
[{"id":1,"name":"Tokyo"},{"id":2,"name":"New York"},{"id":3,"name":"London"}]
http://localhost:8080/update?name=Kyoto
JSON Response:
[{"id":1,"name":"Kyoto"},{"id":2,"name":"New York"},{"id":3,"name":"London"}]
Use Eclipse 4.4 or above.
Generate all Eclipse files with Gradle.
./gradlew eclipse
Apache License, Version 2.0