@nestjs/apollo
TypeScript icon, indicating that this package has built-in type declarations

12.1.0 • Public • Published

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective

Description

GraphQL is a powerful query language for APIs and a runtime for fulfilling those queries with your existing data. It's an elegant approach that solves many problems typically found with REST APIs. For background, we suggest reading this comparison between GraphQL and REST. GraphQL combined with TypeScript helps you develop better type safety with your GraphQL queries, giving you end-to-end typing.

@nestjs/apollo is a package that provides adapters to use Apollo in combination with @nestjs/graphql.

Installation

If you are using express HTTP engine, install the following packages:

$ npm i --save @nestjs/graphql @nestjs/apollo apollo-server-express graphql

In case of fastify, you should install apollo-server-fastify instead.

$ npm i --save @nestjs/graphql @nestjs/apollo apollo-server-fastify graphql

Quick Start

Overview & Tutorial

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

Readme

Keywords

none

Package Sidebar

Install

npm i @nestjs/apollo

Weekly Downloads

349,009

Version

12.1.0

License

MIT

Unpacked Size

51.4 kB

Total Files

76

Last publish

Collaborators

  • nestjscore
  • kamilmysliwiec