Version: legacy

Getting Started

Install GraphQL and GraphQL Modules using Yarn:

yarn add graphql @graphql-modules/core

Or Npm:

npm install --save graphql @graphql-modules/core

Then, create your GraphQLModule instance:

import { GraphQLModule } from '@graphql-modules/core';
const graphQlModule = new GraphQLModule({
typeDefs: [],
resolvers: {},
imports: [],

GraphQLModule helps to manage your modules, GraphQL schema, resolvers and context builders with rich communication between the modules.

So now you have a ready-to-use GraphQLModule instance. Go ahead and create your first GraphQLModule.

Now it's time to implement the schema resolvers and connect it to some data.