All Projects → victorandree → apollo-federation-relay

victorandree / apollo-federation-relay

Licence: MIT license
A demo of Apollo Federation and global Node resolution

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to apollo-federation-relay

Ws Tcp Relay
A simple relay between WebSocket clients and TCP servers
Stars: ✭ 186 (+322.73%)
Mutual labels:  relay
btc-relay-solidity
Bitcoin Light Client on Ethereum
Stars: ✭ 30 (-31.82%)
Mutual labels:  relay
Relay.swift
Relay for GraphQL, ported to Swift and SwiftUI
Stars: ✭ 58 (+31.82%)
Mutual labels:  relay
Relay Workshop
Material for my Relay Workshop
Stars: ✭ 197 (+347.73%)
Mutual labels:  relay
Awesome Relay
Awesome resources for Relay
Stars: ✭ 246 (+459.09%)
Mutual labels:  relay
universal-react-relay-starter-kit
A starter kit for React in combination with Relay including a GraphQL server, server side rendering, code splitting, i18n, SEO.
Stars: ✭ 14 (-68.18%)
Mutual labels:  relay
React Relay Offline
TypeScript library files for Relay Modern Offline
Stars: ✭ 169 (+284.09%)
Mutual labels:  relay
srtrelay
SRT relay server for distributing media streams to multiple clients.
Stars: ✭ 81 (+84.09%)
Mutual labels:  relay
Isomorphic Relay
Adds server side rendering support to React Relay
Stars: ✭ 247 (+461.36%)
Mutual labels:  relay
relay-helpers
Helpers to simplify and enhance Relay (https://facebook.github.io/relay/)
Stars: ✭ 19 (-56.82%)
Mutual labels:  relay
Django Graphql Auth
Django registration and authentication with GraphQL.
Stars: ✭ 200 (+354.55%)
Mutual labels:  relay
Rescript Relay
Use Relay with ReasonML.
Stars: ✭ 214 (+386.36%)
Mutual labels:  relay
graphql-compose-relay
No description or website provided.
Stars: ✭ 29 (-34.09%)
Mutual labels:  relay
Graphql.js
A Simple and Isomorphic GraphQL Client for JavaScript
Stars: ✭ 2,206 (+4913.64%)
Mutual labels:  relay
flipper-plugin-relay-devtools
Flipper plugin for Relay devtools
Stars: ✭ 26 (-40.91%)
Mutual labels:  relay
Reactnavigationrelaymodern
React Navigation integration with Relay
Stars: ✭ 170 (+286.36%)
Mutual labels:  relay
EuNet
Peer to peer network solution for multiplayer games.
Stars: ✭ 109 (+147.73%)
Mutual labels:  relay
ssocks
sSocks fork for windows support; original: https://sourceforge.net/projects/ssocks/
Stars: ✭ 141 (+220.45%)
Mutual labels:  relay
azure-relay-dotnet
☁️ .NET Standard client library for Azure Relay Hybrid Connections
Stars: ✭ 35 (-20.45%)
Mutual labels:  relay
react-relay-example
Example project how to use React, Relay and TypeScript
Stars: ✭ 27 (-38.64%)
Mutual labels:  relay

Apollo Federation and Relay conventions

Combining Apollo Federation with Relay server specifications

Support

Relay Input Object Mutations are no longer a required part of Relay, and the linked specification appears to have been removed. It was never affected by Apollo Federation.

Quick start

npm install
npm run start

Then you can query for products from the global node interface:

query {
  node(id: "UHJvZHVjdDox") {
    id
    ... on Product {
      name
    }
  }
}

You can also query for reviews, which can review any node supported by the review service:

query {
  reviews {
    id
    body
    rating
    node {
      __typename
      id
      ... on Product {
        name
        reviews {
          edges {
            node {
              rating
            }
          }
        }
      }
    }
  }
}

TODO

  • Automatically generate schema for Node resolution service in gateway
  • Run Node resolution service locally in gateway
  • Support query { node } in each service
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].