Sample implementation of a Golang GraphQL server using gqlgen and Echo.
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/
$ 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()
inmain.go
as needed.
$ goose up
$ go run main.go