A simple graph ql server built using dropwizard and graphql-java. Fetches data from the New York Times article search API:
- Run
mvn clean install
to build your application - Set the nytimes API key:
export NYT_ARTICLES_API_KEY=<put key here>
- Start application with
java -jar target/dropwizard-graphql-1.0-SNAPSHOT.jar server config.yml
- Go to
http://localhost:8080/ui
to try a graphql query.
To see your applications health enter url http://localhost:8081/healthcheck