Version: Legacy
Integration With Apollo-Server
GraphQLModules comes with a built-in support for Apollo-Server.
To get started, add apollo-server
to your app:
Then create a new instance of ApolloServer
and use your GraphQLModule
instance to generate the config to pass to the ApolloServer
constructor:
To test your server, run
ts-node index.ts
and try to openhttp://localhost:4000/
, you should see the GraphQL Playground UI.