• Stars
    star
    265
  • Rank 154,577 (Top 4 %)
  • Language
    Go
  • Created almost 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.