Skip to content

LplusKira/RiceWebFinal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Disclaimer

This is a demo repo implementing part of the tutorial at graphql tutorial.

How to install

  npm i

How to run

  npm run start

Demo Link

How to query with graphql playground

# Navigate to localhost:4000
# Put your query on the left panel and press the play-like button to see its result

# get/inspect
query {
  feed {
    id,
    url,
    description
  }
}

# post/add
mutation {
  post(
    url: "https://www.howtographql.com/graphql-js/1-getting-started/"
    description: "graphql tutorial"
  ) {
    id,
    description,
    url,
  }
}

# update
mutation {
  updateLink(
    id: 0,
    description: "how to start with graphql",
  ) {
    id,
    description,
    url,
  }
}

# delete
mutation {
  deleteLink(
    id: 0,
  ) {
    id,
    description,
    url,
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published