An API of Ice and Fire GraphQL Wrapper
A wrapper around the Game of Thrones API built using GraphQL.
- DataLoader - for coalescing and caching fetches.
- express-graphql - to provide HTTP access to GraphQL.
- GraphiQL - for easy exploration of this GraphQL server.
A working demo is available at https://aqueous-citadel-58469.herokuapp.com
Please be patient with the above link. Heroku puts dynos to sleep if inactive for 30 minutes. The server should be responsive within 5 seconds at most on initial visit. Please report any issues you come across.
Install dependencies with
Game of Thrones Wrapper
The GOT API wrapper is in
./schema. It can be tested with:
A local express server is in
./server. It can be run with:
A GraphiQL instance will be opened at http://localhost:PORT/ to explore the API.