dspathak / dropwizard-graphql

Just messing around with graphql-java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DropwizardGraphQL

A simple graph ql server built using dropwizard and graphql-java. Fetches data from the New York Times article search API:

http://developer.nytimes.com/

How to start the DropwizardGraphQL application

  1. Run mvn clean install to build your application
  2. Set the nytimes API key: export NYT_ARTICLES_API_KEY=<put key here>
  3. Start application with java -jar target/dropwizard-graphql-1.0-SNAPSHOT.jar server config.yml
  4. Go to http://localhost:8080/ui to try a graphql query.

Health Check

To see your applications health enter url http://localhost:8081/healthcheck

About

Just messing around with graphql-java


Languages

Language:Java 71.3%Language:HTML 28.7%