Apolloclient

const client = new ApolloClient({
  uri: "https://yourapp.hasura.app/v1/graphql",
  cache: new InMemoryCache(),
  headers: {
    "content-type": "application/json",
    "x-hasura-admin-secret":
      "",
  },
});
Joseph Schechter