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
Usage
$ go get github.com/yuuu/gqlgen-echo-sample
- Create the database
gqlgen-echo-sample
in PosgtreSQL beforehand.
- Modify
db/dbconf.yml
appropriately.
- Change the argument of
gorm.Open()
in main.go
as needed.
$ goose up
$ go run main.go
Go to http://localhost:3000/playground.