0.2.1 • Published 6 years ago

mini-graphql-server v0.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Build Status

mini-graphql-server: a command-line GraphQL server

mini-graphql-server is a simple, zero-configuration command-line GraphQL server. It is to be used for testing, local development, and learning.

Currently, only a small sample of books are available to query by author and/or title via:

{
    books { 
        author 
        title 
    }
}

Coming soon: schema, resolvers, and data file detection in a target directory.

Installation

yarn global add mini-graphql-server

Usage

To start server:

mini-graphql-server

To query:

  • open browser to http://localhost:3000/graphiql

  • or curl -XPOST -H "Content-Type:application/json" -d '{"query": "{books { title author}}"}' http://localhost:3000/graphql

0.2.1

6 years ago

0.2.0

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago