View Code? Open in Web Editor
NEW
GraphQL quick starter using quarkus and vertx-web-graphql
Dockerfile 5.18%
Java 94.82%
graphql's Introduction
This sets up graphql by parsing the schema and binding wirings for data fetchers.
Two fetchers Profile and Wallet fetchers are defined in example.graphql.fetchers which are used in runtime wirings.
mvn clean package quarkus:dev
curl -d'{profile{id name wallets{id name}}}' -H'Content-Type: application/graphql' -H'Accept: application/json' http://localhost:8080/graphql
{"data":{"profile":{"id":"1","name":"Mehdi Raza","wallets":[{"id":"1","name":"JAZZ"},{"id":"1","name":"EasyPaisa"}]}}}
graphql's People
Contributors
Stargazers
Watchers