Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iliasderos/id-graphql-basics
Graph QL experiment following https://www.youtube.com/watch?v=lAJWHHUz8_8
https://github.com/iliasderos/id-graphql-basics
chai express-graphql graphql mocha nodejs
Last synced: 2 days ago
JSON representation
Graph QL experiment following https://www.youtube.com/watch?v=lAJWHHUz8_8
- Host: GitHub
- URL: https://github.com/iliasderos/id-graphql-basics
- Owner: IliasDeros
- License: mit
- Created: 2017-12-26T16:13:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-26T20:35:05.000Z (about 7 years ago)
- Last Synced: 2024-12-16T11:43:07.562Z (about 2 months ago)
- Topics: chai, express-graphql, graphql, mocha, nodejs
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A GraphQL Experiment [![Build Status](https://travis-ci.org/IliasDeros/id-graphql-basics.svg?branch=master)](https://travis-ci.org/IliasDeros/id-graphql-basics)
Query an external REST API that returns big, hard to manage XML files and format response into JSON## Prerequisites
* An API key from https://www.goodreads.com/
* NodeJS >= v8.1.5
* `yarn` [optional]## Getting started
1. Checkout this repository
2. run `yarn` or `npm install`
3. execute server using `APIKEY= node serve.js`
4. Play around with API on `localhost:4000/graphql`## Examples
Query an author's *name*query {
author(id: 4432) {
name
}
}Query an author's *books*
query {
author(id: 4432) {
books { isbn, title }
}
}