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

2.0.2 • Public • Published

Apollo Server Servie

NPM version NPM downloads Build status Test coverage

Production-ready Node.js GraphQL server for Servie.

Installation

npm install apollo-server-servie --save

Usage

Related: https://www.apollographql.com/docs/apollo-server/

import { compose } from "throwback";
import { get, all } from "servie-route";
import { graphqlServie, graphiqlServie } from "apollo-server-servie";
 
const app = compose([
  all("/graphql", graphqlServie({ schema })),
  get("/graphiql", graphiqlServie({ endpointURL: `./graphql` }))
]);

TypeScript

This project is written using TypeScript and publishes the definitions directly to NPM.

License

Apache 2.0

/apollo-server-servie/

    Package Sidebar

    Install

    npm i apollo-server-servie

    Weekly Downloads

    6

    Version

    2.0.2

    License

    Apache-2.0

    Unpacked Size

    16.5 kB

    Total Files

    9

    Last publish

    Collaborators

    • blakeembrey