All Projects → eh3rrera → Graphql Java Spring Boot Example

eh3rrera / Graphql Java Spring Boot Example

Licence: mit
Sample GraphQL server implemented with graphql-java and Spring Boot

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Graphql Java Spring Boot Example

Graphql Java Tools
A schema-first tool for graphql-java inspired by graphql-tools for JS
Stars: ✭ 667 (+330.32%)
Mutual labels:  graphql, spring-boot
Graphql Spring Boot Starter
Spring boot starter for GraphQL
Stars: ✭ 166 (+7.1%)
Mutual labels:  graphql, spring-boot
Graphqlize
A Clojure & JVM library for developing GraphQL API instantly from Postgres and MySQL databases
Stars: ✭ 240 (+54.84%)
Mutual labels:  graphql, spring-boot
Example Kotlin Springboot Graphql
Projeto de exemplo com API GraphQL com dois crud’s simples, utilizando Kotlin, Spring Boot, Gradle etc.
Stars: ✭ 28 (-81.94%)
Mutual labels:  graphql, spring-boot
Geekshop
极客商城 ~ 一个面向开发者的、基于Spring+GraphQL+Angular的、无前端(headless)电商框架
Stars: ✭ 52 (-66.45%)
Mutual labels:  graphql, spring-boot
Shio
✨ :dna: Shio CMS - Model Content, Use GraphQL and Create Site using Javascript with Native Cache and Search.
Stars: ✭ 119 (-23.23%)
Mutual labels:  graphql, spring-boot
Kotlin Graphql Sample
Sample implementation of Kotlin+Spring+GraphQL
Stars: ✭ 69 (-55.48%)
Mutual labels:  graphql, spring-boot
Springboot Restful Angular
springBoot,restful,jwt,angular4 搭建的前后端分离后台管理系统
Stars: ✭ 121 (-21.94%)
Mutual labels:  graphql, spring-boot
Springcloudlearning
本仓库为《跟我学 Spring Cloud 系列文章》代码仓库,欢迎点赞、收藏。
Stars: ✭ 153 (-1.29%)
Mutual labels:  spring-boot
Graphql Kafka Subscriptions
Apollo graphql subscriptions over Kafka protocol
Stars: ✭ 154 (-0.65%)
Mutual labels:  graphql
Fakerql
Hosted faker GraphQL endpoint for frontend developers
Stars: ✭ 152 (-1.94%)
Mutual labels:  graphql
Appsync Refarch Realtime
AWS AppSync Real-Time Reference Architecture
Stars: ✭ 153 (-1.29%)
Mutual labels:  graphql
Jwt Security Example
Spring Boot with Spring Security using JWT
Stars: ✭ 154 (-0.65%)
Mutual labels:  spring-boot
Docker Kubernetes By Example Java
An end-to-end Spring Boot example w container and Kubernetes
Stars: ✭ 151 (-2.58%)
Mutual labels:  spring-boot
Payload
Headless CMS and Application Framework built with Node.js, React and MongoDB
Stars: ✭ 154 (-0.65%)
Mutual labels:  graphql
Spring Thrift Starter
Set of cool annotations that helps you building Thrift applications with Spring Boot
Stars: ✭ 151 (-2.58%)
Mutual labels:  spring-boot
Grpc Spring Boot Starter
Spring Boot starter module for gRPC framework.
Stars: ✭ 2,190 (+1312.9%)
Mutual labels:  spring-boot
Gql Query Builder
🔧 Simple GraphQL Query Builder
Stars: ✭ 155 (+0%)
Mutual labels:  graphql
Spring Boot Blog
spring boot & mybatis 示例
Stars: ✭ 154 (-0.65%)
Mutual labels:  spring-boot
Cas Client Autoconfig Support
Annotation-based configuration support for Apereo CAS Java clients
Stars: ✭ 153 (-1.29%)
Mutual labels:  spring-boot

graphql-java-spring-boot-example

Sample app for my tutorial Building a GraphQL Server with Spring Boot.

You'll need Java 9.

Clone this repo and execute mvnw spring-boot:run. Or inside an IDE, execute the class com.example.DemoGraphQL.DemoGraphQlApplication.

You can go to http://localhost:8080/h2-console/login.jsp and enter the following information:

  • JDBC URL: jdbc:h2:mem:testdb
  • User Name: sa
  • Password:

To check the database or to http://localhost:8080/graphiql to start executing queries. For example:

{
  findAllBooks {
    id
    isbn
    title
    pageCount
    author {
      firstName
      lastName
    }
  }
}

Or:

mutation {
  newBook(
    title: "Java: The Complete Reference, Tenth Edition", 
    isbn: "1259589331", 
    author: 1) {
      id title
  }
}

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].