/learning-graphql

An attempt to learn GraphQL

Primary LanguageJavaScriptMIT LicenseMIT

Learning GraphQL

This repository is my attempt to learn GraphQL by going through the official RFC specification and the sample JavaScript implementation.

The Official Specification is meant for anyone who wants to implement GraphQL core in any language. I felt the need of a simpler version that speaks only JavaScript in its APIs and examples instead of being generic, so I wrote it down myself and shared with hope that others might find it useful too.

Update: graphql.org site came out later, which took more straightforward approach to documenting it. I've updated the contents of this series taking a lot from this new dedicated site for GraphQL.

Table of Content:

  1. What is GraphQL
  2. Basic Query Syntax
  3. Querying with Field Aliases and Fragments
  4. Querying with Directives
  5. On the Server-Side - Creating Your First Schema
  6. A Working GraphQL Server in Nodejs
  7. Deep Dive into GraphQL Type System
  8. Mutations
  9. Introspection (TBD)
  10. A Working GraphQL Server v2 (TBD)

Plan

I intend to use these documents to make workshopper lessons. Any kind of contributions are welcome, more if you feel like adding tasks and test suits in the workshopper.

License

MIT

More Resources