This is a small sample application for Scalar DB named contact management.
The commands to run the application using gradle is provided below:
Create schema using email_transaction.json.
$ ./gradlew run --args="-mode transaction -action add -name <name> -email <email_id> -phone <phone_no>"
$ ./gradlew run --args="-mode transaction -action get -name <name> -email <email_id>"
$ ./gradlew run --args="-mode transaction -action scan -name <name>"
Create schema using email.json.
$ ./gradlew run --args="-mode storage -action add -name <name> -email <email_id> -phone <phone_no>"
$ ./gradlew run --args="-mode storage -action get -name <name> -email <email_id>"
$ ./gradlew run --args="-mode storage -action scan -name <name>"