Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 627 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 627 Bytes

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