{"id":26492750,"url":"https://github.com/graphql-hive/graphql-modules","last_synced_at":"2026-03-16T20:38:04.885Z","repository":{"id":37270250,"uuid":"132927665","full_name":"graphql-hive/graphql-modules","owner":"graphql-hive","description":"Enterprise Grade Tooling For Your GraphQL Server","archived":false,"fork":false,"pushed_at":"2025-04-09T23:12:45.000Z","size":17971,"stargazers_count":1325,"open_issues_count":58,"forks_count":115,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-10T00:23:45.517Z","etag":null,"topics":["apollo","apollo-server","dependency-injection","graphql","graphql-server","modules","typescript"],"latest_commit_sha":null,"homepage":"https://graphql-modules.com/","language":"TypeScript","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/graphql-hive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-05-10T16:35:37.000Z","updated_at":"2025-04-07T08:00:42.000Z","dependencies_parsed_at":"2023-09-28T07:10:16.020Z","dependency_job_id":"0d8ad3e6-d38a-44d0-ac3f-dfc5e903e2cd","html_url":"https://github.com/graphql-hive/graphql-modules","commit_stats":{"total_commits":2536,"total_committers":72,"mean_commits":35.22222222222222,"dds":0.5646687697160884,"last_synced_commit":"bb0e2fa067b784fcc7c44d6b51ba3d9fd6f77047"},"previous_names":["graphql-hive/graphql-modules"],"tags_count":101,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-hive%2Fgraphql-modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-hive%2Fgraphql-modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-hive%2Fgraphql-modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-hive%2Fgraphql-modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphql-hive","download_url":"https://codeload.github.com/graphql-hive/graphql-modules/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137891,"owners_count":21053775,"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":["apollo","apollo-server","dependency-injection","graphql","graphql-server","modules","typescript"],"created_at":"2025-03-20T09:27:25.658Z","updated_at":"2026-03-16T20:37:59.863Z","avatar_url":"https://github.com/graphql-hive.png","language":"TypeScript","readme":"[![GraphQLConf 2024 Banner: September 10-12, San Francisco. Hosted by the GraphQL Foundation](https://github.com/user-attachments/assets/bdb8cd5d-5186-4ece-b06b-b00a499b7868)](https://graphql.org/conf/2024/?utm_source=github\u0026utm_medium=graphql_modules\u0026utm_campaign=readme)\n\n\u003c!-- Uncomment when we remove GraphQL Conf banner --\u003e\n\u003c!-- [![modules](https://user-images.githubusercontent.com/25294569/64067074-ed185b80-cc2a-11e9-8f4d-5f1e19feaa0a.gif)](https://graphql-modules.com/) --\u003e\n\n[![npm version](https://badge.fury.io/js/graphql-modules.svg)](https://www.npmjs.com/package/graphql-modules)\n![CI](https://github.com/graphql-hive/graphql-modules/workflows/CI/badge.svg)\n[![Discord Chat](https://img.shields.io/discord/625400653321076807)](https://the-guild.dev/discord)\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)]()\n\n**GraphQL Modules** is a toolset of libraries and guidelines dedicated to **create reusable, maintainable, testable and extendable modules** out of your GraphQL server.\n\n- [Website](https://graphql-modules.com)\n- [Documentation](https://graphql-modules.com/docs)\n\n## Highlights\n\n- **Reusable modules** - Modules are defined by their GraphQL schema (Schema first design). They can be shared between apps.\n- **Scalable structure** - Manage multiple teams and features, multiple micro-services and servers.\n- **Gradual growth** - A clear, gradual path from a very simple and fast, single-file modules, to scalable multi-file, multi-teams, multi-repo, multi-server modules.\n- **Testable** - A rich toolset around testing, mocking and separation.\n\n## Documentation\n\nDocumentation is available at [graphql-modules.com](https://graphql-modules.com/docs).\n\n## Installation\n\nTo install graphql-modules, use the following:\n\n```sh\n$ npm install graphql-modules\n\n# Or, with Yarn\n\n$ yarn add graphql-modules\n```\n\n#### Pre-release\n\nWe are also publishing a pre-release version to NPM on each change.\n\nJust take a look at the build status on Github Actions and find \"Publish Canary\" job to get the published version.\n\n## Usage\n\nMore advanced usage at [graphql-modules.com](https://graphql-modules.com/docs)\n\n```js\nimport { createModule, createApplication, gql } from 'graphql-modules'\n\nconst module = createModule({\n  id: 'my-module',\n  typeDefs: gql`\n    type Post {\n      id: ID\n      title: String\n      author: User\n    }\n\n    type Query {\n      posts: [Post]\n    }\n  `,\n  resolvers: blogResolvers\n})\n\nconst application = createApplication({\n  modules: [module]\n})\n```\n\nInside the `examples` directory you can find the following examples:\n\n- [Simple GraphQL-Modules example](./examples/basic)\n- [Using dependency injection in GraphQL Modules](./examples/basic-with-dependency-injection)\n\n## Contributions\n\nContributions, issues and feature requests are very welcome. If you are using this package and fixed a bug for yourself, please consider submitting a PR!\n\nAnd if this is your first time contributing to this project, please do read our [Contributor Workflow Guide](https://github.com/the-guild-org/Stack/blob/master/CONTRIBUTING.md) before you get started off.\n\n### Code of Conduct\n\nHelp us keep GraphQL Modules open and inclusive. Please read and follow our [Code of Conduct](https://github.com/the-guild-org/Stack/blob/master/CODE_OF_CONDUCT.md) as adopted from [Contributor Covenant](https://www.contributor-covenant.org/)\n\n### License\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollostack/apollo-ios/master/LICENSE)\n\nMIT\n","funding_links":[],"categories":["TypeScript","⚙️ Backend \u0026 APIs"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphql-hive%2Fgraphql-modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphql-hive%2Fgraphql-modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphql-hive%2Fgraphql-modules/lists"}