Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikolasburk/github-schema-delegation
https://github.com/nikolasburk/github-schema-delegation
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nikolasburk/github-schema-delegation
- Owner: nikolasburk
- Created: 2017-12-12T14:35:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-12T15:31:11.000Z (almost 7 years ago)
- Last Synced: 2024-10-02T17:21:29.803Z (about 1 month ago)
- Language: JavaScript
- Size: 43 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# github-schema-delegation
This project demonstrates how to build a custom GraphQL server on top of [GitHub's GraphQL API](https://developer.github.com/v4/) using [schema delegation](https://medium.com/@graphcool/graphql-schema-stitching-explained-schema-delegation-4c6caf468405).
## Usage
```sh
git clone [email protected]:nikolasburk/github-schema-delegation.git
cd github-schema-delegation
yarn install
yarn start
```## Overview
Notice that this project has two branches:
- [master](https://github.com/nikolasburk/github-schema-delegation): Basic implementation based on `delegateSchema` from `graphql-tools`
- [gh-binding](https://github.com/nikolasburk/github-schema-delegation/tree/gh-binding): Same functionality but implemented using the [`graphql-binding-github`](https://github.com/graphcool/graphql-binding-github) for convenience and less boilerplate