Skip to content

graphql development module for practising graphql testing

Notifications You must be signed in to change notification settings

sadabnepal/graphql-dev-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL Code

Clone Repository

git clone https://github.com/sadabnepal/graphql-dev-test.git
cd graphql-dev-test

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"
}

TODO:

{
  burgers(where: { name: "cheeseburger"})
        name 
        description 
        price 
        calories   
        inStock 
}

About

graphql development module for practising graphql testing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published