gqlgen-echo-sample

command module
v0.0.0-...-e59cf66 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 11 Imported by: 0

README

gqlgen-echo-sample

Sample implementation of a Golang GraphQL server using gqlgen and Echo.

Description

We combined gqlgen, a GraphQL library, and Echo, a web framework, to build a GraqhQL server implemented in the Go language.

https://tech.fusic.co.jp/posts/2020-04-12-gqlgen-echo-sample/

Screen Shot

Mutation Sample

Query Sample

Usage

$ go get github.com/yuuu/gqlgen-echo-sample
  1. Create the database gqlgen-echo-sample in PosgtreSQL beforehand.
  2. Modify db/dbconf.yml appropriately.
  3. Change the argument of gorm.Open() in main.go as needed.
$ goose up
$ go run main.go

Go to http://localhost:3000/playground.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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