GitHunt Example and Schema
In the documentation we’ll show examples of using Apollo in React via the GitHunt example application.
GitHunt is a Product Hunt-style application that shows a list of GitHub repositories, sorted by votes with attached comments. The API server code demonstrates combining two data sources–a third-party API and a local database–in a single GraphQL endpoint.
The React UI, which we’ll focus on in this guide, shows a lot of the techniques that you can use to build a great React UI for any GraphQL server. You can check out the full source code on GitHub or just read the snippets in the guide.
The GitHunt Schema
Most of the examples in this guide are written for the GitHunt schema. You can see the full schema written in the GraphQL Schema Language below: