Skip to content

viaduct-graphql/cli-starter

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages