gingerkirsch / vertx-web-graphql-scala-seed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

= Vert.x Web GraphQL Scala example

Based on Java Example

Here you will find examples demonstrating Vert.x Web GraphQL in action. Currently Vert.x does not provide rewritten part in Scala as for other components of Vert.x, yet we can still use it in Scala in "javified" way

Vert.x Web GraphQL extends Vert.x Web with the GraphQL-Java library so that you can build a GraphQL server.

== Simple GraphQL server and client

This example uses the Vert.x Web client to send a request to the GraphQL server and log the response.

The GraphQL schema describes the data with:

  • Link and User types
  • the allLinks query

Run Main Verticle in order to deploy both Server and Client

About

License:MIT License


Languages

Language:Scala 100.0%