1.0.8 • Published 6 years ago
apollo-fastify v1.0.8
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!