tonyghita / graphql-go-example

Example use of github.com/graph-gophers/graphql-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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.

About

Example use of github.com/graph-gophers/graphql-go


Languages

Language:Go 99.3%Language:Makefile 0.4%Language:Dockerfile 0.3%