Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tonyghita/graphql-go-example

Example use of github.com/graph-gophers/graphql-go
https://github.com/tonyghita/graphql-go-example

example golang graphql graphql-server

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# graphql-go-example

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

This project launches a server that exposes the StarWars API hosted at
as a GraphQL API implemented in Go.

## Usage

```sh
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.

[0]: https://github.com/graph-gophers/graphql-go