Skip to content
Branch: master
Find file History
Latest commit 91738b8 May 22, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src/main Rename to web-graphql-examples Apr 18, 2019
README.adoc Rename to web-graphql-examples Apr 18, 2019
pom.xml Update to 3.7.1 May 22, 2019

README.adoc

Vert.x Web GraphQL examples

Here you will find examples demonstrating Vert.x Web GraphQL in action.

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 backend is a very basic Hackernews clone: it holds a list of web pages, as well as info about the user who posted each link. The GraphQL schema describes the data with:

  • Link and User types

  • the allLinks query

First you need to run the server then you can run the client.

You can’t perform that action at this time.