Skip to content

mkczyk/graphql-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL Java Examples

Spring Boot starter examples (spring-graphql-examples)

Spring Boot application examples with GraphQL in three approaches:

GraphQL Java Spring example without Spring Boot starter (graphql-java-spring-example)

  • Pure Spring Boot with GraphQL endpoint made by hand.

Schema-first style (pure GraphQL Java) based on:

Endpoint: http://localhost:7010/graphql

GraphQL Java Spring (graphql-java-spring-example)

Schema-first style (pure GraphQL Java) based on:

Endpoint: http://localhost:7001/graphql

GraphQL with Graph QL Java Tools (graphql-java-tool-spring-example)

Schema-first style with tool based on:

GraphQL with GraphQL SPQR (graphql-spqr-spring-example)

Code-first style based on:

Endpoint: http://localhost:7003/graphql

Other examples

GraphQL wrapping REST with GraphQL SPQR (graphql-wrap-rest)

  • Based on starter from "Spring Boot starter: GraphQL with GraphQL SPQR"

Endpoint: http://localhost:7300/graphql
Playground: http://localhost:7300/gui

Additional information

Intellij GraphQL scratches

To run queries from scratch files (scratch.graphql) with IntelliJ use JS GraphQL plugin (version 2, currently beta).

About

GraphQL Java Examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages