{"id":15192467,"url":"https://github.com/ashutoshsahoo/gs-graphql-practice","last_synced_at":"2026-02-23T15:32:31.095Z","repository":{"id":131092224,"uuid":"266275091","full_name":"ashutoshsahoo/gs-graphql-practice","owner":"ashutoshsahoo","description":"Spring boot and GraphQL Playground","archived":false,"fork":false,"pushed_at":"2022-03-06T16:51:53.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T20:46:47.330Z","etag":null,"topics":["docker","gradle","graphql","graphql-java","graphql-playground","graphql-schema","graphql-tools","h2","h2-database","jib","jib-docker-package","jib-gradle","jib-plugin","spring-boot"],"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/ashutoshsahoo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-23T06:13:36.000Z","updated_at":"2022-03-06T16:49:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e774d29-a15a-451a-b205-5d5e8eb42492","html_url":"https://github.com/ashutoshsahoo/gs-graphql-practice","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"c1a5c9ba216b3c5211289215889f7a0e88fcbcd8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashutoshsahoo/gs-graphql-practice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshsahoo%2Fgs-graphql-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshsahoo%2Fgs-graphql-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshsahoo%2Fgs-graphql-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshsahoo%2Fgs-graphql-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashutoshsahoo","download_url":"https://codeload.github.com/ashutoshsahoo/gs-graphql-practice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshsahoo%2Fgs-graphql-practice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29746562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: 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":["docker","gradle","graphql","graphql-java","graphql-playground","graphql-schema","graphql-tools","h2","h2-database","jib","jib-docker-package","jib-gradle","jib-plugin","spring-boot"],"created_at":"2024-09-27T21:40:25.382Z","updated_at":"2026-02-23T15:32:31.056Z","avatar_url":"https://github.com/ashutoshsahoo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot with GraphQL (GraphQL Playground)\n\n## Getting Started\n\n### Run application\n\n- Run the application using `gradle bootRun`\n\n- Open `http://localhost:8080/graphiql` in browser\n\n### Test Application\n\n- Query Employee\n\n```graphql\n{\n    employees {\n        id\n        name\n        salary\n    }\n}\n```\n\nand inside REQUEST HEADERS\n\n```json\n{\n  \"Authorization\": \"Basic YWRtaW46YWRtaW4=\"\n}\n```\n\nResponse :\n\n```json\n{\n  \"data\": {\n    \"employees\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Andi\",\n        \"salary\": \"42\"\n      }\n    ]\n  }\n}\n```\n\n### Run application inside docker\n\n```shell\ngradle build\ngradle jibDockerBuild\ndocker run -d -p 8080:8080 ashutoshsahoo/gs-graphql\ndocker ps\ndocker stop \u003ccontainer-id\u003e \ndocker rm \u003ccontainer-id\u003e\n```\n\n### Reference Documentation\n\nFor further reference, please consider the following sections:\n\n* [Spring-GraphQL](https://docs.spring.io/spring-graphql/docs/1.0.0-M5/reference/html/)\n* [Spring-GraphQL-Github](https://github.com/spring-projects/spring-graphql)\n* [Official Gradle documentation](https://docs.gradle.org)\n* [Spring Boot Gradle Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.7.0-M2/gradle-plugin/reference/html/)\n* [Create an OCI image](https://docs.spring.io/spring-boot/docs/2.7.0-M2/gradle-plugin/reference/html/#build-image)\n* [Spring Boot DevTools](https://docs.spring.io/spring-boot/docs/2.6.4/reference/htmlsingle/#using-boot-devtools)\n* [Spring Web](https://docs.spring.io/spring-boot/docs/2.6.4/reference/htmlsingle/#boot-features-developing-web-applications)\n* [Spring Security](https://docs.spring.io/spring-boot/docs/2.6.4/reference/htmlsingle/#boot-features-security)\n* [Spring Data JPA](https://docs.spring.io/spring-boot/docs/2.6.4/reference/htmlsingle/#boot-features-jpa-and-spring-data)\n* [Spring Boot Actuator](https://docs.spring.io/spring-boot/docs/2.6.4/reference/htmlsingle/#production-ready)\n* [Jib - Containerize your Gradle Java project](https://github.com/GoogleContainerTools/jib/tree/master/jib-gradle-plugin)\n\n### Guides\n\nThe following guides illustrate how to use some features concretely:\n\n* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/)\n* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/)\n* [Building REST services with Spring](https://spring.io/guides/tutorials/bookmarks/)\n* [Securing a Web Application](https://spring.io/guides/gs/securing-web/)\n* [Spring Boot and OAuth2](https://spring.io/guides/tutorials/spring-boot-oauth2/)\n* [Authenticating a User with LDAP](https://spring.io/guides/gs/authenticating-ldap/)\n* [Accessing Data with JPA](https://spring.io/guides/gs/accessing-data-jpa/)\n* [Building a RESTful Web Service with Spring Boot Actuator](https://spring.io/guides/gs/actuator-service/)\n\n### Additional Links\n\nThese additional references should also help you:\n\n* [Gradle Build Scans – insights for your project's build](https://scans.gradle.com#gradle)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashutoshsahoo%2Fgs-graphql-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashutoshsahoo%2Fgs-graphql-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashutoshsahoo%2Fgs-graphql-practice/lists"}