Skip to content

Simple Java, Spring Boot, Gradle, GraphQL tryout for myself, build together from various Tutorials found through google

Notifications You must be signed in to change notification settings

cblicous/graphqltest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple GraphQL Test

Goolged together from other tutorials currently first tries

Start with gradle bootRun

acces http://localhost:8080/graphiql for queryinterface

Example Query:

{ recentPosts(count:2,offset:0){ title id text category } }

Example Mutations

mutation {writePost(title:"Mei", text:"Kusakabe", category:"[email protected]", author: "Author0") {
  id
} }
 mutation {createAuthor(input: { name : "test",thumbnail : "testthumb"}) { id } }

Docker Build

gradle build 

docker build  -t cblicousgraphtest .

docker run -p 8080:8081 cblicousgraphtest 

About

Simple Java, Spring Boot, Gradle, GraphQL tryout for myself, build together from various Tutorials found through google

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages