Skip to content

blacroix/xke-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POC GraphQL and Kotlin

Solution for XKE Hands'On GraphQL

Stack

How To

Run:

$> ./gradlew run

Use:

http://localhost:8080/graphql?q={book(id:2){id,title,year}}
http://localhost:8080/graphql?q={book(id:2){title,year,likes,author{firstName,lastName}}}
http://localhost:8080/graphql?q={author(id:1){firstName,lastName,books{title,year}popularity}}
http://localhost:8080/graphql?q=mutation{addBook(id:9,title:"Martine fait du GraphQL",author_id:1,year:2017){id,likes}}
http://localhost:8080/graphql?q=mutation{likeBook(title:"Martine fait du GraphQL"){likes}}
http://localhost:8080/graphql?q=mutation{deleteBook(id:9){author{firstName,lastName,books{title}}}}

About

XKE solution for hands'on GraphQL in Kotlin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages