Skip to content

sadabnepal/graphql-full-stack-kit

Repository files navigation

GraphQL Code

Clone Repository

git clone https://github.com/sadabnepal/graphql-full-stack-kit.git
cd graphql-full-stack-kit

Pre-requisite

NodeJs

Install Packages

npm install

Start Server

npm start

Graphical View

http://localhost:8000/graphql

GraphQl Server

graphql

Sample Query:

query Burger($name: String!, $vegan: Boolean!) {
  burger (name: $name) {
    id
    name
    tomato
    cheese @skip(if: $vegan)
    inStock
    price
  }
}


variable

{
  "vegan": false,
  "name": "Veggie Delight"
}

query {
  burgers(where: {vegan: true, inStock: true}) {
    calories
    vegan
    cheese
    description
    name
  }
}

TODO:

burger

About

graphql development module for practising graphql testing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published