This is an experimental project for educational purposes.
It exposes endpoints for CRUD operations on customers and orders.
- Clone project
- Execute
./gradlew flywayMigrate
from the within the Intellij's console,
orgradle flywayMigrate
(if you have installed Gradle in your machine) to migrate the schema to the latest version. - Execute either
./gradlew generateJooq
orgradle generateJooq
for the mapping tables types to POJOs to be generated. - Lastly execute either
./gradlew build
orgradle build
for the project to build
- You can start the application and manually perform requests from either the
CustomerRoutes
or theOrderRoutes
http files which can be found underHttpRequests
directory. - Execute the integration tests under the
test
package. - Or execute either
./gradlew test
orgradle test
to execute the tests from the terminal.