项目作者: tonyghita

项目描述 :
Example use of github.com/graph-gophers/graphql-go
高级语言: Go
项目地址: git://github.com/tonyghita/graphql-go-example.git
创建时间: 2017-11-27T16:14:00Z
项目社区:https://github.com/tonyghita/graphql-go-example

开源协议:

下载


graphql-go-example

This codebase is an example of how github.com/graph-gophers/graphql-go
might be used in production.

This project launches a server that exposes the StarWars API hosted at
https://swapi.dev as a GraphQL API implemented in Go.

Usage

  1. make server

This launches the HTTP server on port 8000 of your machine.

Visiting http://localhost:8000 will return a GraphiQL client that you can use to make
requests against the API.