@bumjs/apollo
v0.0.5
Published
Nest - modern, fast, powerful node.js web framework (@apollo)
Downloads
13
Readme
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
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
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
License
Nest is MIT licensed.