Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 842 Bytes

README.md

File metadata and controls

49 lines (33 loc) · 842 Bytes

arango-helidon-native-example

Sample Helidon MP project that includes multiple REST operations.

prerequisites

Start a local database:

SSL=true ./docker/start_db.sh

Build and run

With JDK21

mvn package
java -jar target/arango-helidon-native-example.jar

Exercise the application

Basic:

curl -X GET http://localhost:8080/version
{"license":"COMMUNITY","server":"arango","version":"3.12.0-2"}

Building a Native Image

You can build a native binary using Maven as follows:

mvn -Pnative-image package -DskipTests

You can then execute your native executable with:

./target/arango-helidon-native-example

Building a Native Image with the shaded driver

You can build a native binary using Maven as follows:

mvn -Pnative-image package -DskipTests -Dshaded