Skip to content

dtellz/springboot-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Springboot GraphQL service

Requirements

Java >= 17 Maven >= 3.5

Local setup

Run the project

./mvnw spring-boot:run

Navigate to http://localhost:8080/graphiql

Example query:

query bookDetails {
  bookById(id: "book-1") {
    id
    name
    pageCount
    author {
      id
      firstName
      lastName
    }
  }
}

Run tests

Run all test suite

./mvnw test

Run the BookController test

./mvnw -Dtest=BookControllerTest test

About

Basic GraphQL microservice - Spring Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages