Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

luisw19/graphql-samples

Repository files navigation

graphql-samples

This repository contains a series of GraphQL step by step examples.

graphql-countries-part1 shows how to create a simple GraphQL Service that fetches hard-coded countries data. The example shows how to create a GraphQL Schema (With Object and Query types) and a resolver based on the Apollo GraphQL implementation.

graphql-countries-part2 is a continuation of graphql-countries-part1, where code is refactored to separate concerns by keeping server.js light and reference the Graph schema and resolvers from different files. In this sample, we'll also implement the REST Countries API as a backend data source.

graphql-countries-part3 is a continuation of graphql-countries-part2, where code is extended to also support Mutations. In this sample, we'll also make use of RequestBin to simulate POST calls against an REST backend.

graphql-countries-part5 is a continuation of graphql-countries-part2, where an Oracle JET UI is added to compare REST and GraphQL APIs.

sqllite-rest-mongo-backend A project based on the tutorial How to build a GraphQL server by Jonas Helfer showing to implement a graphql service that talks with SQL, MongoDB and REST.

About

GraphQL samples used in presentations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages