Skip to content

Repository files navigation

Viaduct CLI Starter app

Requirements

  • Java JDK 21 is installed
  • JAVA_HOME environment variable is set correctly or java is in the classpath

Quick Start

Check out the Getting Started docs.

Run the demo

./gradlew -q run

This will execute a default GraphQL query called greeting. You should see the following output:

{
"data" : {
"greeting" : "Hello, World!"
}
}

Try a different GraphQL query by adding it as an argument to the run command:

./gradlew -q run --args="'{ author }'"

You should see the following output:

{
"data" : {
"author" : "Brian Kernighan"
}
}

About

Starter app for running a Viaduct GraphQL server via the command-line

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages