You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**GraphQL Modules** is a toolset of libraries and guidelines dedicated to **create reusable, maintainable, testable and extendable modules** out of your GraphQL server.
-**[Introducing GraphQL Modules - Feature based GraphQL Modules at scale](https://medium.com/the-guild/graphql-modules-feature-based-graphql-modules-at-scale-2d7b2b0da6da)**
13
-
-**[Why is True Modular Encapsulation So Important in Large-Scale GraphQL Projects? ](https://medium.com/the-guild/why-is-true-modular-encapsulation-so-important-in-large-scale-graphql-projects-ed1778b03600)**
14
-
-**[Why did we implement our own Dependency Injection library for GraphQL-Modules?](https://medium.com/the-guild/why-did-we-implement-our-own-dependency-injection-library-for-graphql-modules-f25a234a9762)**
15
-
-**[Scoped Providers in GraphQL-Modules Dependency Injection](https://medium.com/the-guild/scoped-providers-in-graphql-modules-dependency-injection-system-949cd2588e0)**
16
-
-**[Writing a GraphQL TypeScript project w/ GraphQL-Modules and GraphQL-Code-Generator](https://medium.com/the-guild/writing-strict-typed-graphql-typescript-project-w-graphql-modules-and-graphql-code-generator-c22f6caa17b8)**
17
-
-**[Authentication and Authorization in GraphQL (and how GraphQL-Modules can help)](https://medium.com/the-guild/authentication-and-authorization-in-graphql-and-how-graphql-modules-can-help-fadc1ee5b0c2)**
18
-
-**[Authentication with AccountsJS & GraphQL Modules](https://medium.com/the-guild/authentication-with-accountsjs-graphql-modules-e0fb9799a9da)**
19
-
-**[Manage Circular Imports Hell in GraphQL-Modules](https://medium.com/the-guild/manage-circular-imports-hell-with-graphql-modules-4b1611dee781)**
-**Reusable modules** - Modules are defined by their GraphQL schema (Schema first design). They're completely independent and can be shared between apps.
15
+
-**Reusable modules** - Modules are defined by their GraphQL schema (Schema first design). They can be shared between apps.
24
16
-**Scalable structure** - Manage multiple teams and features, multiple micro-services and servers.
25
17
-**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.
26
18
-**Testable** - A rich toolset around testing, mocking and separation.
27
19
28
20
## Documentation
29
21
30
-
Documentation is available at [graphql-modules.com](https://graphql-modules.com/docs/introduction/getting-started) or inside the [docs](./docs/) directory.
22
+
Documentation is available at [graphql-modules.com](https://graphql-modules.com/docs).
31
23
32
24
## Installation
33
25
34
26
To install graphql-modules, use the following:
35
27
36
28
```sh
37
-
$ npm install @graphql-modules/core
29
+
$ npm install graphql-modules
38
30
39
31
# Or, with Yarn
40
32
41
-
$ yarn add @graphql-modules/core
33
+
$ yarn add graphql-modules
42
34
```
43
35
44
-
Or, in alternative, just use the graphql-modules-seed to get started:
-[Using dependency injection in GraphQL Modules](./examples/basic-with-dependency-injection)
82
-
- You can also take a look at the [graphql-modules-seed](https://github.com/darkbasic/graphql-modules-seed) repository.
83
74
84
75
## GraphQL Code Generator integration
85
76
86
-
GraphQL Modules easily integrates with [GraphQL Code Generator](https://github.com/dotansimha/graphql-code-generator). To see how look at the [graphql-modules-seed](https://github.com/darkbasic/graphql-modules-seed).
87
-
88
-
## Troubleshoot
89
-
90
-
If you have issues with the generator, feel free open issues in this repository.
91
-
92
-
## Contributing
93
-
94
-
Feel free to open issues (for bugs/questions) and create pull requests (add generators / fix bugs).
0 commit comments