Skip to content

This project is a simple example of how to use GraphQL with Spring Boot

Notifications You must be signed in to change notification settings

timlien/spring-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring GraphQL

Description

This project is a simple example of how to use GraphQL with Spring Boot. It uses the GraphQL Java library to create a GraphQL server.

How to run

To run the project, execute the following command:

./gradlew bootRun

GraphiQL

After running the project, you can access the GraphiQL interface at the following URL:

http://localhost:8080/graphiql

Queries

You can use the following queries:

Get all books

query GetBookStores {
    bookStores {
        id
        name
        books {
            bookStoreId
            id
            title
        }
    }
}

About

This project is a simple example of how to use GraphQL with Spring Boot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages