Skip to content

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

License

Notifications You must be signed in to change notification settings

yuuu/gqlgen-echo-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published