{"id":24558153,"url":"https://github.com/rse/graphql-io-server","last_synced_at":"2025-04-19T09:59:01.234Z","repository":{"id":57253482,"uuid":"94678481","full_name":"rse/graphql-io-server","owner":"rse","description":"GraphQL Network Communication Framework (Server)","archived":false,"fork":false,"pushed_at":"2025-03-31T11:24:16.000Z","size":197,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-15T21:55:47.057Z","etag":null,"topics":["communication","framework","graphql","network","server"],"latest_commit_sha":null,"homepage":"http://graphql-io.com/","language":"JavaScript","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/rse.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":"2017-06-18T09:49:35.000Z","updated_at":"2025-03-31T11:24:18.000Z","dependencies_parsed_at":"2024-06-19T22:50:40.292Z","dependency_job_id":"126e8ebb-03b2-4e3a-b1a5-00fa0e9327d6","html_url":"https://github.com/rse/graphql-io-server","commit_stats":null,"previous_names":[],"tags_count":134,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Fgraphql-io-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Fgraphql-io-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Fgraphql-io-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Fgraphql-io-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rse","download_url":"https://codeload.github.com/rse/graphql-io-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249670067,"owners_count":21308670,"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":["communication","framework","graphql","network","server"],"created_at":"2025-01-23T05:47:31.651Z","updated_at":"2025-04-19T09:59:01.218Z","avatar_url":"https://github.com/rse.png","language":"JavaScript","readme":"\n[GraphQL-IO](https://github.com/rse/graphql-io) \u0026nbsp;|\u0026nbsp;\n[GraphQL-IO-Client](https://github.com/rse/graphql-io-client) \u0026nbsp;|\u0026nbsp;\n[GraphQL-IO-Server](https://github.com/rse/graphql-io-server)\n\n\u003cimg src=\"https://rawgit.com/rse/graphql-io/master/graphql-io.svg\" width=\"250\" align=\"right\" alt=\"\"/\u003e\n\nGraphQL-IO-Server\n=================\n\nGraphQL Network Communication Framework (Server)\n\n\u003cp/\u003e\n\u003cimg src=\"https://nodei.co/npm/graphql-io-server.png?downloads=true\u0026stars=true\" alt=\"\"/\u003e\n\n\u003cp/\u003e\n\u003cimg src=\"https://david-dm.org/rse/graphql-io-server.png\" alt=\"\"/\u003e\n\nAbout\n-----\n\nThis is a [GraphQL](http://graphql.org/) network communication framework for\nJavaScript servers, running under Node.js.\nIt is based on the GraphQL engine [GraphQL.js](http://graphql.org/graphql-js/),\nthe GraphQL schema execution library [GraphQL-Tools](http://dev.apollodata.com/tools/graphql-tools/),\nthe GraphQL type definition library [GraphQL-Tools-Types](https://github.com/rse/graphql-tools-types),\nthe GraphQL subscription management library [GraphQL-Tools-Subscribe](https://github.com/rse/graphql-tools-subscribe),\nthe network communication framework [HAPI](https://hapijs.com),\nthe WebSocket integration plugin [HAPI-Plugin-WebSocket](https://github.com/rse/hapi-plugin-websocket)\nand the GraphiQL integration plugin [HAPI-Plugin-GraphiQL](https://github.com/rse/hapi-plugin-graphiql).\nIt has be used with the corresponding [GraphQL-IO-Client](https://github.com/rse/graphql-io-client)\nnetwork communication framework on the JavaScript client side.\n\nInstallation\n------------\n\n```shell\n$ npm install graphql-io-server\n```\n\nUsage\n-----\n\n```js\n/*  all-in-one  */\nimport { Server } from \"graphql-io\"\n\n/*  client-side only  */\nimport { Server } from \"graphql-io-server\"\n```\n\nSee the [TypeScript type definition of the GraphQL-IO-Server API](src/graphql-io.d.ts) for details.\n\nSample\n------\n\n```js\n/*  Hello World Server  */\nconst { Server } = require(\"graphql-io-server\")\nconst server = new Server({ url: \"http://127.0.0.1:12345/api\" })\nserver.at(\"graphql-resolver\", () =\u003e ({\n    Root: { hello: [ \"hello: String\", () =\u003e \"world\" ] }\n}))\nawait server.start()\n```\n\nFor more elaborate samples, check out the [Samples](https://github.com/rse/graphql-io/tree/master/sample/) folder.\n\nLicense\n-------\n\nCopyright (c) 2016-2019 Dr. Ralf S. Engelschall (http://engelschall.com/)\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frse%2Fgraphql-io-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frse%2Fgraphql-io-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frse%2Fgraphql-io-server/lists"}