Getting Started With GraphQL

Intro to GraphQL: A Query Language for APIs

Sections

GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.

The Big Heading

A Query Language for your APIs

Rest Refresher

Resources

Entities served by the API

Verbs

Mapping, HTTP…

PUT: Replace

GET: Retrieve a collection or entity

etc…

Hateoas

Hypermedia As The Engine Of Application State

Richardson’s Maturity Model for Rest APIs

Some GraphQL Code

GraphQL Query
{
  file(relativePath: { eq: "hero.jpg" }) {
    url
  }
  users {
    id
    name
    age
    posts {
      id
      excerpt
    }
  }
}

Emoji Support

emoji-100 emoji-+1 emoji-confetti_ball emoji-boom emoji-fire emoji-tada

Tweet Cards

This is an example of embedding a single tweet card. Add any markdown as you normally do, and then insert a valid Tweet link anywhere to automatically transform it into an embed card.

You can embed several tweets

I’m an inline-style link

Look, A mermaid

sequenceDiagram participant Alice participant Bob Alice->John: Hello John, how are you? loop Healthcheck John->John: Fight against hypochondria end Note right of John: Rational thoughts
prevail... John-->Alice: Great! John->Bob: How about you? Bob-->John: Jolly good!

Look at this Video:

Popular Articles

Learning new languages for Busy People

Learning new languages for Busy People
5 mins read · May 25, 2019

I live in London and it is astounding how many people tell me about wanting to learn languages but not being able to because, somehow, it is too…
Hello World

Hello World
1 mins read · April 08, 2019

Who Are You? Software Engineer with 10+ years professional experience (15 years total). I have a fascination for how teams can be highly…
Kaizen: Continuous Improvement

Kaizen: Continuous Improvement
1 mins read · January 22, 2019

Kaizen, is the Japanese word for “improvement”. In business, kaizen refers to activities that continuously improve all functions and involve all…