> For the complete documentation index, see [llms.txt](https://hanfak.gitbook.io/workspace/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hanfak.gitbook.io/workspace/persistance1/graphql.md).

# GraphQL

## What

* a specification
* a query a language for an API
* Two parts
  * schema definition language
  * Query language
* Schema is mandatory
  * request from client is validated against the schema, if it fails this check against the schema then it will reject request
    * client is given the request

## Links

* <https://www.youtube.com/watch?v=ZoW95-wwzgA>
  * <https://github.com/jsoneaday/gql-vertx-server>
* GraphQL Crash Course - Hussein Nasser <https://youtu.be/fVmQCnQ\\_EPs>
  * <https://github.com/vladimir-dejanovic/dive-into-graphql-in-java>
  * <https://github.com/vladimir-dejanovic/graphql-mock-server> to mock impl of schema that has been defined
* <https://youtu.be/mdhanLJrSxc> Moving beyond REST - GraphQL and Java – Pratik Patel
* <https://youtu.be/ed8SzALpx1Q> GraphQL Full Course - Novice to Expert freecodecamp
