Socket
Socket
Sign inDemoInstall

apollo-server-servie

Package Overview
Dependencies
205
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    apollo-server-servie

Production-ready Node.js GraphQL server for Servie


Version published
Weekly downloads
8
increased by700%
Maintainers
1
Install size
18.4 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 01 Jul 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc