apollo-fastify
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

This is the Fastify integration of Apollo Server.

npm install apollo-fastify

Usage

import fastify from 'fastify';
import { graphqlFastify } from 'apollo-fastify';
 
const app = fastify();
const PORT = 3000;
 
app.post('/graphql', fastifyApollo({ schema: executableSchema }));
 
app.listen(PORT);

Principles

Apollo Server is built with the following principles in mind:

  • By the community, for the community: Apollo Server's development is driven by the needs of developers
  • Simplicity: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure
  • Performance: Apollo Server is well-tested and production-ready - no modifications needed

Anyone is welcome to contribute to Apollo Server, just read CONTRIBUTING.md, take a look at the roadmap and make your first PR!

Package Sidebar

Install

npm i apollo-fastify

Weekly Downloads

2

Version

1.0.8

License

MIT

Unpacked Size

22.2 kB

Total Files

12

Last publish

Collaborators

  • mattiasewers