{"id":15565011,"url":"https://github.com/conorheffron/graphql-box","last_synced_at":"2026-01-04T10:07:55.756Z","repository":{"id":250819566,"uuid":"835059981","full_name":"conorheffron/graphql-box","owner":"conorheffron","description":"GraphQL Playground","archived":false,"fork":false,"pushed_at":"2024-09-02T17:23:30.000Z","size":613,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T08:05:52.539Z","etag":null,"topics":["graphql","jdk17","lombok","postman-collection","spring-boot-2"],"latest_commit_sha":null,"homepage":"https://conorheffron.github.io/graphql-box/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/conorheffron.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-29T04:45:28.000Z","updated_at":"2025-01-24T19:54:51.000Z","dependencies_parsed_at":"2024-10-27T05:51:57.068Z","dependency_job_id":null,"html_url":"https://github.com/conorheffron/graphql-box","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"729a8998fbf46692f392d47da8574b06bd05dc30"},"previous_names":["conorheffron/graphql-box"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conorheffron%2Fgraphql-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conorheffron%2Fgraphql-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conorheffron%2Fgraphql-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conorheffron%2Fgraphql-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conorheffron","download_url":"https://codeload.github.com/conorheffron/graphql-box/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238677008,"owners_count":19511925,"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":["graphql","jdk17","lombok","postman-collection","spring-boot-2"],"created_at":"2024-10-02T16:48:35.256Z","updated_at":"2025-10-28T16:30:29.987Z","avatar_url":"https://github.com/conorheffron.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# graphql-box\n\n[![Java CI with Maven](https://github.com/conorheffron/graphql-box/actions/workflows/maven.yml/badge.svg)](https://github.com/conorheffron/graphql-box/actions/workflows/maven.yml)\n\n## Technologies:\nJDK corretto-17.0.9, Spring Boot 2, GraphQL, Maven 3\n\n## Build \u0026 Run Tests:\n```\nmvn clean package\n```\n\n## Run Main Class Directly:\n```\ncom.graphql.box.intro.GraphqlApplication\n```\n\n## GraphQL Queries \u0026 Mutation (Methods: Postman, Curl, \u0026 GraphiQL UI)\n\n### Query\n\n#### curl\n```\ncurl \\\n--request POST 'localhost:8080/graphql' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\"query\":\"query {\\n    recentPosts(count: 2, offset: 0) {\\n        id\\n        title\\n        author {\\n            id\\n            posts {\\n                id\\n            }\\n        }\\n    }\\n}\"}'\n```\n#### GraphiQL UI\n![recentPosts-graphiql](./screenshots/recentPosts-graphiql.png?raw=true \"recentPosts-graphiql\")\n\n#### Postman\n![recentPosts-postman](./screenshots/recentPosts-postman.png?raw=true \"recentPosts-postman\")\n\n### Mutation\n\n#### curl\n```\ncurl \\\n--request POST 'localhost:8080/graphql' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\"query\":\"mutation {\\n    createPost(title: \\\"New Title\\\", authorId: \\\"Author2\\\", text: \\\"New Text\\\") {\\n id\\n       category\\n        author {\\n            id\\n            name\\n        }\\n    }\\n}\"}'\n```\n#### GraphiQL UI\n![createPost-graphiql](./screenshots/createPost-graphiql.png?raw=true \"recentPosts-graphiql\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconorheffron%2Fgraphql-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconorheffron%2Fgraphql-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconorheffron%2Fgraphql-box/lists"}