Step 4 (Optional): Explore imported data with GraphQL API

  1. Access the pre-configured GraphQL API in Hasura on port 8080. The default admin password is admin. To learn how to set it, visit Setting Admin Credentials page.
  2. Try the query below; it will list the reviewers for each PR. Notice the explorer on the right; it makes crafting those queries trivial.
query PR_Reviewers {
  vcs_PullRequest {
    uid
    mergedAt
    createdAt
    vcs_PullRequestReviews {
      vcs_User {
        uid
      }
    }
    repository
    url
  }
}

You can now integrate Faros CE with your favorite automation tool! (Hasura also supports RESTified GraphQL Endpoints)

πŸ“˜

Get Oriented in Hasura

Hasura is a great open-source GraphQL engine. You can find its documentation here.
See also ❄ GraphQL API with Hasura for how it used in Faros CE.