Coder Social home page Coder Social logo

graphql-tutorial's Introduction

GraphQL Tutorial

This is a didactic introduction to GraphQL, starting from a simple Hello World to a network-based GraphQL server with a built-in GraphQL UI. It is provided in the form of a tutorial which step-by-step introduces more usage of GraphQL. Each tutorial step XX can be found in the file sample-XX and run with npm run sample-XX. The distinct tutorial steps are:

  1. just plain all-in-one GraphQL "Hello World"
  2. replaces GraphQL schema API calls with GraphQL schema definition language
  3. split GraphQL usage into distinct parts
  4. replace "Hello World" with an entity "OrgUnit" and enable schema/resolver warnings
  5. add "Person" entity and use a separate data store
  6. factor out resolver functionality into generic data access object functions
  7. add QueryEntityOne DAO method for querying particular objects
  8. allow relationships to be queried and be strict on resolvers now
  9. add remaining CRUD operations (create/clone, update, delete) to GraphQL entity types
  10. wrap GraphQL application programming interface (API) with a remote network interface (RNI)
  11. replace built-in client with interactive GraphQL web user interface (GraphiQL)
  12. add descriptions to GraphQL schema for introspection inside GraphiQL
  13. move data into SQLite RDBMS and access it with Sequelize ORM
  14. wrap mutations into a single RDBMS transaction
  15. support also GraphQL over Websocket communication
  16. add GraphQL Subscription support
  17. simplify and migrate to all-in-one GraphQL-IO framework

GraphQL Resources

The steadily growing GraphQL community has many resources. A few selected ones were hand-picked for you here.

GraphQL Community

GraphQL General

Tools

Cloud Services

Server SDK [JavaScript]

Client SDK [JavaScript]

Server or Client SDK [Others]

graphql-tutorial's People

Contributors

celestz avatar engelschall avatar rse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.