GraphQL

What is GraphQL?

How is GraphQL better than REST (for some specific scenarios)?

(fn → GraphQL resolver functions)

How can I learn and play with GraphQL?

How does REST operations map to GraphQL?

**What are some quick examples? ** Copy paste below examples in the Playground: https://pet-library.moonhighway.com/

query {
  totalPets(status: CHECKEDOUT)
  allPets {
    name
    weight
    category
  }
}mutation{createAccount(
  input:{
    name: "Demo"
    username: "Demo"
    password: "Demo"
  }
), {
  name
  username
}}

#GraphQL