@reaktivo/nano-graphql-server

0.1.1 • Public • Published

Note

This project is not maintained anymore, you should switch to Apollo v2

nano-graphql-server

GitHub license npm version CircleCI Status Coverage PRs Welcome

nano-graphql-server is a tiny convention-over-configuration graphql server

Installation

npm install -g @reaktivo/nano-graphql-server

Usage

import { createGqlServer, createSchema } from "@reaktivo/nano-graphql-server";

createGqlServer({
  port,
  apiKey, // for use with APOLLO_ENGINE
  schema: createSchema({
    resolversPath, // relative path to a resolvers js file,
    typesPath // relative path to type definitions
  })
});

License

nano-graphql-server is open source software licensed as MIT.

/@reaktivo/nano-graphql-server/

    Package Sidebar

    Install

    npm i @reaktivo/nano-graphql-server

    Weekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    6.07 kB

    Total Files

    10

    Last publish

    Collaborators

    • reaktivo