{"id":21257853,"url":"https://github.com/jesperancinha/guitar-shop","last_synced_at":"2026-04-08T22:31:33.072Z","repository":{"id":261827038,"uuid":"885459249","full_name":"jesperancinha/guitar-shop","owner":"jesperancinha","description":"Exploring GraphQL","archived":false,"fork":false,"pushed_at":"2025-12-19T11:30:25.000Z","size":370,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-22T04:11:21.486Z","etag":null,"topics":["apollo","apollo-client","apollo-kotlin","gradle","graphql","java","jdk","jre","jvm","kotlin","maven","spring","spring-graphql"],"latest_commit_sha":null,"homepage":"https://joaofilipesabinoesperancinha.nl","language":"Kotlin","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/jesperancinha.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-08T16:15:30.000Z","updated_at":"2025-12-19T11:30:28.000Z","dependencies_parsed_at":"2026-01-08T13:05:21.744Z","dependency_job_id":null,"html_url":"https://github.com/jesperancinha/guitar-shop","commit_stats":null,"previous_names":["jesperancinha/guitar-shop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jesperancinha/guitar-shop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesperancinha%2Fguitar-shop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesperancinha%2Fguitar-shop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesperancinha%2Fguitar-shop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesperancinha%2Fguitar-shop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jesperancinha","download_url":"https://codeload.github.com/jesperancinha/guitar-shop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesperancinha%2Fguitar-shop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31577444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["apollo","apollo-client","apollo-kotlin","gradle","graphql","java","jdk","jre","jvm","kotlin","maven","spring","spring-graphql"],"created_at":"2024-11-21T04:06:09.388Z","updated_at":"2026-04-08T22:31:33.058Z","avatar_url":"https://github.com/jesperancinha.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Making a query\n\n-   http://localhost:8080/graphiql?path=/graphql\n\n## Query examples\n\n#### Get all guitars\n\n```graphql\nquery getGuitar {\n  guitarById(id: 1) {\n    id\n    brand\n    model\n    owner {\n      id\n      firstName\n      lastName\n    }\n  }\n}\n```\n\n```shell\ncurl -X POST http://localhost:8080/graphql \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n        \"query\": \"query getGuitar { guitarById(id: 1) { id brand model owner { id firstName lastName } } }\"\n      }'\n```\n\n```graphql\nquery getGuitar {\n  guitarById(id: 1) {\n    id\n    model\n    owner {\n      id\n      lastName\n    }\n  }\n}\n```\n\n```shell\ncurl -X POST http://localhost:8080/graphql \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"query\":\"{  allUsers { id name age } }\"}'\n```\n\n```graphql\nquery getOwner {\n  ownerById(id: 1) {\n      id\n      lastName\n  }\n}\n```\n\n```shell\ncurl -X POST http://localhost:8080/graphql \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n        \"query\": \"query getOwner { ownerById(id: 1) { id lastName } }\"\n      }'\n```\n\n#### All users\n\n```graphql\nmutation {\n  createUser(name: \"Black Raven\", age: 30) {\n    id\n    name\n    age\n  }\n}\n```\n\n```graphql\nquery {\n  allUsers {\n    id\n    name\n    age\n  }\n}\n```\n\n```shell\ncurl -X POST http://localhost:8080/graphql \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n        \"query\": \"query allUsers { id name age }\"\n      }'\n```\n\n## Resources\n\n-   https://spring.io/guides/gs/graphql-server\n-   https://www.apollographql.com/docs/kotlin/tutorial/04-execute-the-query\n-   https://plugins.jetbrains.com/plugin/8097-graphql\n\n## About me\n\n[![GitHub followers](https://img.shields.io/github/followers/jesperancinha.svg?label=Jesperancinha\u0026style=for-the-badge\u0026logo=github\u0026color=grey \"GitHub\")](https://github.com/jesperancinha)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesperancinha%2Fguitar-shop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjesperancinha%2Fguitar-shop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesperancinha%2Fguitar-shop/lists"}