@reaktivo/nano-graphql-server
v0.1.1
Published
This project is not maintained anymore, you should switch to [Apollo v2](https://blog.apollographql.com/announcing-apollo-server-2-2b69fb4702ce)
Downloads
1
Readme
Note
This project is not maintained anymore, you should switch to Apollo v2
nano-graphql-server
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.