Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/piomin/sample-spring-boot-graphql

Demo application illustrating advanced usage of GraphQL with Spring Boot like filtering or relationship fetching
https://github.com/piomin/sample-spring-boot-graphql

graphiql graphql h2 hibernate jpa netflix-oss spring-boot spring-data-jpa

Last synced: 7 days ago
JSON representation

Demo application illustrating advanced usage of GraphQL with Spring Boot like filtering or relationship fetching

Awesome Lists containing this project

README

        

# Spring Boot GraphQL Demo Project [![Twitter](https://img.shields.io/twitter/follow/piotr_minkowski.svg?style=social&logo=twitter&label=Follow%20Me)](https://twitter.com/piotr_minkowski)

[![CircleCI](https://circleci.com/gh/piomin/sample-spring-boot-graphql.svg?style=svg)](https://circleci.com/gh/piomin/sample-spring-boot-graphql)

[![SonarCloud](https://sonarcloud.io/images/project_badges/sonarcloud-black.svg)](https://sonarcloud.io/dashboard?id=piomin_sample-spring-boot-graphql)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=piomin_sample-spring-boot-graphql&metric=bugs)](https://sonarcloud.io/dashboard?id=piomin_sample-spring-boot-graphql)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=piomin_sample-spring-boot-graphql&metric=coverage)](https://sonarcloud.io/dashboard?id=piomin_sample-spring-boot-graphql)
[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=piomin_sample-spring-boot-graphql&metric=ncloc)](https://sonarcloud.io/dashboard?id=piomin_sample-spring-boot-graphql)

In this demo repository I'm demonstrating the most interesting libraries and features for integrating Spring Boot with GraphQL.

## Important notes
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](https://github.com/graphql-java-kickstart/graphql-spring-boot). The second of them `sample-app-netflix-dgs` shows how to use [Netflix DGS](https://netflix.github.io/dgs) library for GraphQL with Spring Boot.

## Getting Started
1. 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](https://github.com/piomin/sample-spring-boot-graphql/tree/master/sample-app-kickstart). A detailed guide may be found in the following article: [An Advanced Guide to GraphQL with Spring Boot](https://piotrminkowski.com/2020/07/31/an-advanced-guide-to-graphql-with-spring-boot/)
2. How to simplify Spring Boot and GraphQL development with Netflix DGS library. The example is available in the branch [master](https://github.com/piomin/sample-spring-boot-graphql/tree/master/sample-app-netflix-dgs). A detailed guide may be found in the following article: [An Advanced GraphQL with Spring Boot and Netflix DGS](https://piotrminkowski.com/2021/04/08/an-advanced-graphql-with-spring-boot-and-netflix-dgs/).
3. How to simplify Spring Boot and GraphQL development with Spring for Graph library. The example is available in the branch [master](https://github.com/piomin/sample-spring-boot-graphql/tree/master/sample-app-spring-graphql). A detailed guide may be found in the following article: [An Advanced GraphQL with Spring Boot](https://piotrminkowski.com/2023/01/18/an-advanced-graphql-with-spring-boot/).