{"id":13499681,"url":"https://github.com/leangen/graphql-spqr-samples","last_synced_at":"2025-07-16T01:03:40.413Z","repository":{"id":66362512,"uuid":"69033029","full_name":"leangen/graphql-spqr-samples","owner":"leangen","description":"Minimal demo app for graphql-spqr","archived":false,"fork":false,"pushed_at":"2021-04-10T23:59:54.000Z","size":760,"stargazers_count":105,"open_issues_count":12,"forks_count":59,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-05T00:24:03.614Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leangen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-09-23T14:36:02.000Z","updated_at":"2024-10-03T19:04:47.000Z","dependencies_parsed_at":"2023-02-20T16:01:10.480Z","dependency_job_id":null,"html_url":"https://github.com/leangen/graphql-spqr-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leangen/graphql-spqr-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leangen%2Fgraphql-spqr-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leangen%2Fgraphql-spqr-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leangen%2Fgraphql-spqr-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leangen%2Fgraphql-spqr-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leangen","download_url":"https://codeload.github.com/leangen/graphql-spqr-samples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leangen%2Fgraphql-spqr-samples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265472342,"owners_count":23771854,"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","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-07-31T22:00:38.167Z","updated_at":"2025-07-16T01:03:40.378Z","avatar_url":"https://github.com/leangen.png","language":"JavaScript","funding_links":[],"categories":["Examples","Implementations"],"sub_categories":["Java Examples","Java"],"readme":"# GraphQL-SPQR Spring Boot Samples\n\n[![Build Status](https://travis-ci.org/leangen/graphql-spqr-samples.svg?branch=master)](https://travis-ci.org/leangen/graphql-spqr-samples)\n[![Join the chat at https://gitter.im/leangen/graphql-spqr](https://badges.gitter.im/leangen/graphql-spqr.svg)](https://gitter.im/leangen/graphql-spqr?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nSimplistic Spring Boot application for demoing GraphQL SPQR lib's capabilities.\nThis is mostly used by us for doing live demo's in our talks, not as documentation.\n\nPackage with Maven, run the jar, play around.\n\nOut of the box, the application runs on port 8000\n\nGraphQL Playground (graphical environment) is mapped to `/gui` by default (e.g. http://localhost:8000/gui)\n\nAPI is exposed on `/graphql`\n\nExample queries can be found in javadoc for query methods\n\nFor an elaborate introspection query you might want to use:\n```graphql\nquery IntrospectionQuery {\n    __schema {\n      queryType { name }\n      mutationType { name }\n      subscriptionType { name }\n      types {\n        ...FullType\n      }\n      directives {\n        name\n        description\n        locations\n        args {\n          ...InputValue\n        }\n      }\n    }\n  }\n  fragment FullType on __Type {\n    kind\n    name\n    description\n    fields(includeDeprecated: true) {\n      name\n      description\n      args {\n        ...InputValue\n      }\n      type {\n        ...TypeRef\n      }\n      isDeprecated\n      deprecationReason\n    }\n    inputFields {\n      ...InputValue\n    }\n    interfaces {\n      ...TypeRef\n    }\n    enumValues(includeDeprecated: true) {\n      name\n      description\n      isDeprecated\n      deprecationReason\n    }\n    possibleTypes {\n      ...TypeRef\n    }\n  }\n  fragment InputValue on __InputValue {\n    name\n    description\n    type { ...TypeRef }\n    defaultValue\n  }\n  fragment TypeRef on __Type {\n    kind\n    name\n    ofType {\n      kind\n      name\n      ofType {\n        kind\n        name\n        ofType {\n          kind\n          name\n          ofType {\n            kind\n            name\n            ofType {\n              kind\n              name\n              ofType {\n                kind\n                name\n                ofType {\n                  kind\n                  name\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleangen%2Fgraphql-spqr-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleangen%2Fgraphql-spqr-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleangen%2Fgraphql-spqr-samples/lists"}