Category: graphql

Photo by Casey Horner on Unsplash

Introducing Test GraphQL Java

I was recently asked by one of my friend how can we test the GraphQL APIs in Java. He is currently exploring Karate’s capability, however, he doesn’t want to use Karate just for this as they’re already using TestNG based framework. And there is a graphql-java library which let’s you to implement GraphQL in Java and test, but using Spring […] read more

Deploying GraphQL Server on Heroku

Today, I’ll show you on how to deploy a simple Graphql server on Heroku. I’m considering the following stack to show my example: Mongo (using mongoose) Express GraphQL (using apollo-server) NodeJS server A sample GraphQL server look like this: View the code on Gist. I have one Mutation which is used to add an user to the mongo collection and […] read more