No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gql subbreeds Jul 21, 2017
.gitignore readme Jul 20, 2017
LICENSE
README.md subbreeds Jul 21, 2017
package-lock.json readme Jul 20, 2017
package.json readme Jul 20, 2017
server.js readme Jul 20, 2017

README.md

dog-ceo-graphql

Query the dog.ceo api via graphql and node.

git clone https://github.com/stlbucket/dog-ceo-graphql.git
npm install
npm start

Point your browser at: http://localhost:4000/graphql

query {
  allBreeds {
   name
   randomImage
   allSubBreeds {
     name
     randomImage
   }
  }
}
query {
  breed (name: "hound") {
   name
    randomImage
    subBreed(name: "Ibizan") {
      name,
      allImages
    }
 }
}