Skip to content

nikole24/books-api

 
 

Repository files navigation

Logo

Build Status Slack Quality Gate Status

GraphQL books API made using Spring Boot. This is a sibling project of the Book Project.

Setup

Prerequisites:

  • JDK 11 or higher
  • Configure Lombok

Running the app

  1. Import as a Maven project into your favourite IDE
  2. Run the app
  3. Go to localhost:8080/playground

Sample query:

{
  findAllBooks {
    title
    authors {
      firstName
      lastName
    }
    genre
    isbn13
    yearOfPublication
    publishedBy
    format
  }
}

Voyager

To visualise the schema, go to localhost:8080/voyager. You will also need to comment out the maxQueryDepth line in application.properties.

Contributing

If you wish to contribute (thanks!), please first see the contributing document.

About

GraphQL Books API

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%