{"id":18559190,"url":"https://github.com/linux-china/rest-graphql-rsocket-demo","last_synced_at":"2026-02-27T19:01:46.961Z","repository":{"id":65056328,"uuid":"402599944","full_name":"linux-china/rest-graphql-rsocket-demo","owner":"linux-china","description":"One controller to combine HTTP REST, GraphQL and RSocket","archived":false,"fork":false,"pushed_at":"2022-12-23T07:24:53.000Z","size":41,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-26T12:13:15.247Z","etag":null,"topics":["graphql","http-rest","rsocket"],"latest_commit_sha":null,"homepage":"","language":"Java","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/linux-china.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}},"created_at":"2021-09-03T00:32:17.000Z","updated_at":"2023-12-14T09:25:26.000Z","dependencies_parsed_at":"2022-12-27T23:02:30.416Z","dependency_job_id":null,"html_url":"https://github.com/linux-china/rest-graphql-rsocket-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Frest-graphql-rsocket-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Frest-graphql-rsocket-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Frest-graphql-rsocket-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Frest-graphql-rsocket-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linux-china","download_url":"https://codeload.github.com/linux-china/rest-graphql-rsocket-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251304106,"owners_count":21567814,"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","http-rest","rsocket"],"created_at":"2024-11-06T21:42:16.149Z","updated_at":"2026-02-27T19:01:41.923Z","avatar_url":"https://github.com/linux-china.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"REST-GraphQL-RSocket combo demo\n===============================\n\nSpring Boot app with HTTP REST API, GraphQL and RSocket.\n\n# Features\n\n* HTTP REST API\n\n```http request\nGET http://localhost:8080/book/book-1\n```\n\n* RSocket Request\n\n```http request\n### RSocket request\nRSOCKET findBook\nHost: ws://localhost:8080/rsocket\nContent-Type: application/json\n\n\"book-1\"\n```\n\n* GraphQL over HTTP\n\n```http request\n### GraphQL over HTTP\nGRAPHQL http://localhost:8080/graphql\nContent-Type: application/graphql\n\nquery {\n    findBook(id: \"book-1\") { id name }\n}\n```\n\n* RSocket over WebSocket\n\n```http request\n### GraphQL over WebSocket\nGRAPHQLWS localhost:8080/graphql\nContent-Type: application/graphql\n\nquery {\n    findBook(id: \"book-1\") { id name }\n}\n```\n\n* GraphQL over RSocket\n\n```http request\n### GraphQL over RSocket\nGRAPHQLRS graphql\nHost: ws://localhost:8080/rsocket\nContent-Type: application/graphql\n\nquery {\n    findBook(id: \"book-1\") { id name }\n}\n```\n\n# References\n\n* Spring GraphQL: https://spring.io/projects/spring-graphql\n* Spring Boot GraphQL: https://docs.spring.io/spring-graphql/docs/1.0.0-RC1/reference/html/\n* RSocket: https://rsocket.io/\n* RSocket JetBrains Plugin: https://plugins.jetbrains.com/plugin/18195-rsocket-requests-in-http-client\n* httpx JetBrains Plugin: https://plugins.jetbrains.com/plugin/18807-httpx-requests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-china%2Frest-graphql-rsocket-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinux-china%2Frest-graphql-rsocket-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-china%2Frest-graphql-rsocket-demo/lists"}