Example use of github.com/graph-gophers/graphql-go
This codebase is an example of how
github.com/graph-gophers/graphql-gomight 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.
make server
This launches the HTTP server on port
8000of your machine.
Visiting http://localhost:8000 will return a GraphiQL client that you can use to make requests against the API.