Skip to content

Latest commit

 

History

History
 
 

graphql-starter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

GraphQL Starter

GraphQL starter project.

Schema

We mimic the GraphQL tutorial available here

type Query {
  bookById(id: ID): Book 
}

type Book {
  id: ID
  name: String
  pageCount: Int
  author: Author
}

type Author {
  id: ID
  firstName: String
  lastName: String
}

run

mvn jooby:run

Open a browser a type: http://localhost:8080/graphql

help