@reaktivo/nano-graphql-server

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

Usage no npm install needed!

<script type="module">
  import reaktivoNanoGraphqlServer from 'https://cdn.skypack.dev/@reaktivo/nano-graphql-server';
</script>

README

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.