GraphQL Yoga v4 documentation (superseded by v5): Nest (Nest JS) is a progressive Node.js framework for building efficient, reliable and scalable server-side applications.
Nest (Nest JS) is a progressive Node.js framework for building efficient,
reliable and scalable server-side applications.
GraphQL Yoga provides its own Nest GraphQL Driver that support building standalone GraphQL APIs and
Apollo Federation GraphQL APIs (Gateway and Services).
Standalone
Install
npm i @nestjs/graphql @graphql-yoga/nestjs graphql-yoga graphql
Separately, we offer a @graphql-yoga/nestjs-federation driver which allows building Apollo
Federation Gateways and Services through the YogaGatewayDriver and YogaFederationDriver drivers.
Install
npm i @nestjs/graphql @graphql-yoga/nestjs-federation graphql-yoga graphql