In this demo repository I'm demonstrating the most interesting libraries and features for integrating Spring Boot with GraphQL.
This repository has been reorganized and now contains two different applications. First of them, sample-app-kickstart
shows how to use the project called GraphQL Kickstart. The second of them sample-app-netflix-dgs
shows how to use Netflix DGS library for GraphQL with Spring Boot.
- How to simplify Spring Boot and GraphQL development with GraphQL Kickstart library. The article describes more advanced solution like filtering or joins with a database. The example is available in the branch master. A detailed guide may be found in the following article: An Advanced Guide to GraphQL with Spring Boot
- How to simplify Spring Boot and GraphQL development with Netflix DGS library. The example is available in the branch master. A detailed guide may be found in the following article: An Advanced GraphQL with Spring Boot and Netflix DGS.
- To check health: http://localhost:8080/actuator
- To Launch grpahql: http://localhost:8080/graphiql
- Sample Request: { employeesWithFilter(filter: { salary: {operator: "gt", value: "12000"}, age: {operator: "gt", value: "30"}, position: {operator: "eq", value: "Architect"} }) { id firstName lastName position salary age } }