Archive of stories published by The GraphQLHub

Your First GraphQL Server

So, today we’re going to write a small GraphQL server. I’m not going to try to persuade you to drop everything and adopt GraphQL — but if you’re curious about what this stuff looks like today and how it works, read on.

Setup an HTTP Server


GraphQL Tour: Variables

Browsing the GraphQL specification, you might stumble into the section on variables and wonder, “Why on earth GraphQL does have variables?”

The spec quietly mentions the rationale, and if you read too fast you might miss it: