graphql

package module
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2020 License: MIT Imports: 5 Imported by: 0

README

graphql-crud-server

GraphQL generic CRUD server for golang

What is graphql-crud-server?

graphql-crud-server is a GraphQL library written in golang for building generic CRUD graphql servers fast and simple. No need for any models or other overhead. Just load a graphql schema and start the server. See section "Examples" for more details.

Installation

# Go Modules
require github.com/baba2k/graphql-crud-server v0.1.3

Usage

The following samples will assist you to become as comfortable as possible with graphql-crud-server library.

// Import graphql-crud-server into your code and refer it as `graphql`.
import "github.com/baba2k/graphql-crud-server"

Examples

Simple "Todo" example

See "example" dir for more examples

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadSchemaFromFile added in v0.1.3

func LoadSchemaFromFile(filename string) (string, error)

func StartServer added in v0.1.3

func StartServer(addr, schema string, db interface{})

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL