{"id":18930508,"url":"https://github.com/techprimers/spring-boot-graphql-query-example","last_synced_at":"2025-08-21T00:32:06.018Z","repository":{"id":50799634,"uuid":"116977643","full_name":"TechPrimers/spring-boot-graphql-query-example","owner":"TechPrimers","description":"Spring Boot with GraphQL Query Example","archived":false,"fork":false,"pushed_at":"2022-12-30T10:30:34.000Z","size":51,"stargazers_count":98,"open_issues_count":7,"forks_count":105,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T23:38:26.072Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TechPrimers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-10T15:48:54.000Z","updated_at":"2024-08-10T21:27:19.000Z","dependencies_parsed_at":"2023-01-31T11:10:14.893Z","dependency_job_id":null,"html_url":"https://github.com/TechPrimers/spring-boot-graphql-query-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TechPrimers/spring-boot-graphql-query-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fspring-boot-graphql-query-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fspring-boot-graphql-query-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fspring-boot-graphql-query-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fspring-boot-graphql-query-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechPrimers","download_url":"https://codeload.github.com/TechPrimers/spring-boot-graphql-query-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechPrimers%2Fspring-boot-graphql-query-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271409448,"owners_count":24754715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T11:37:56.704Z","updated_at":"2025-08-21T00:32:05.697Z","avatar_url":"https://github.com/TechPrimers.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot with GraphQL Query Example\n\nUpdate: Upgraded to Java 11 and Graph QL to 5+ version dependency\n\n## Book Store\n- `/rest/books` is the REST resource which can fetch Books information\n- DataFetchers are Interfaces for RuntimeWiring of GraphQL with JpaRepository\n\n## Sample GraphQL Scalar Queries\n- Accessible under `http://localhost:8091/rest/books`\n- Usage for `allBooks`\n```\n{\n   allBooks {\n     isn\n     title\n     authors\n     publisher\n   }\n }\n```\n- Usage for `book`\n```\n  {\n   book(id: \"123\") {\n     title\n     authors\n     publisher\n   }\n```\n- Combination of both `allBooks` and `book`\n```\n{\n   allBooks {\n     title\n     authors\n   }\n   book(id: \"124\") {\n     title\n     authors\n     publisher\n   }\n }\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechprimers%2Fspring-boot-graphql-query-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechprimers%2Fspring-boot-graphql-query-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechprimers%2Fspring-boot-graphql-query-example/lists"}