An example Golang GraphQL server written with graphql-go and graphql-relay-go
Try the live demo: http://bit.ly/try-graphql-go
- graphql-go: Golang GraphQL library
- graphql-relay-go: Golang GraphQL library helper to construct Relay-compliant server
- graphiql: In-browser IDE to explore GraphQL queries
- Starwars GraphQL Schema: GraphQL example schema defined with Relay capabilities with the help of
graphql-relay-go
.
# `cd` to project directory
$ cd <project_dir>
# get all dependencies
$ go get ./...
# launch server
$ go run main.go
# Go to http://localhost:8080 on your browser