Example project with:
- spring-boot
- java 8
- postgres
- integration tests
- dbunit
- h2
Create a database and two schemas with name customer
and store
, set the postgres configuration with the host and credentials.
Execute command below:
$ mvn spring-boot:run
In another shell run command:
$ curl --request GET \
--url 'http://localhost:8080/customers?page=0&size=10'
Execute command:
$ mvn test