Skip to content

joostvdg/graphql-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL Demo

Based on this tutorial from pluralsight.

Stack

  • Spring Boot
  • GraphQL tools
  • H2 embedded via JPA
  • JDK 1.8

Use

Data

Some exampled data you can use for the graphql console.

{
  findAllBooks {
    id title author
    {
    	firstName lastName
    }
  }
}

mutation {
  newAuthor(
    firstName: "JRR",
    lastName: "Tolkien"
  )
}

{ 
  findAllAuthors {
    firstName
    lastName
    id
  }
  
}

mutation {
  newBook(
    title: "The Fellowship of the Ring",
    isbn: "978-0395489314",
    pageCount: 432,
    author:2
  ) {
    id
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages