File: overview.md

package info (click to toggle)
ruby-graphql 2.2.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,584 kB
  • sloc: ruby: 67,505; ansic: 1,753; yacc: 831; javascript: 331; makefile: 6
file content (30 lines) | stat: -rw-r--r-- 1,061 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
layout: guide
doc_stub: false
search: true
section: JavaScript Client
title: Overview
desc: Getting Started with GraphQL-Ruby's Javascript client, graphql-ruby-client.
index: 0
---

There is a JavaScript client for GraphQL-Ruby, `graphql-ruby-client`.

You can install it from NPM or Yarn:

```sh
yarn add graphql-ruby-client
# Or:
npm install graphql-ruby-client
```

The source code is [in the graphql-ruby repository](https://github.com/rmosolgo/graphql-ruby/tree/master/javascript_client).

See detailed guides for more info about its features:

- {% internal_link "sync CLI", "javascript_client/sync" %} for use with [graphql-pro](https://graphql.pro)'s persisted query backend
- Subscription support:
  - {% internal_link "Apollo integration", "/javascript_client/apollo_subscriptions" %}
  - {% internal_link "Relay integration", "/javascript_client/relay_subscriptions" %}
  - {% internal_link "urql integration", "/javascript_client/urql_subscriptions" %}
  - {% internal_link "GraphiQL integration", "/javascript_client/graphiql_subscriptions" %}