gqlgen-apollo-federation-demo

module
v0.0.0-...-9fab475 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT

README

gqlgen & apollo federation

this repository is port of https://github.com/apollographql/federation-demo

with https://gqlgen.com/

How to use

$ docker compose up --build
$ open http://localhost:4000/

or

$ go run ./accounts/server/server.go
$ go run ./reviews/server/server.go
$ go run ./products/server/server.go
$ go run ./inventory/server/server.go
$ (cd gateway && npm ci && npm run start)
$ open http://localhost:4000/

Development

$ npx prettier --write "./*/*.{graphql,js}"
$ goimports -w ./**/*.go
$ go generate ./...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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