{"repo":"Gusto/apollo-federation-ruby","free":true,"listed":false,"github":"https://github.com/Gusto/apollo-federation-ruby","clone":"git clone https://github.com/Gusto/apollo-federation-ruby.git","description":"A Ruby implementation of Apollo Federation","language":"Ruby","stars":226,"topics":["graphql","apollographql","ruby"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"apollo-federation This gem extends the GraphQL Ruby gem to add support for creating an Apollo Federation schema. Installation Add this line to your application's Gemfile: And then execute: $ bundle Or install it yourself as: $ gem install apollo-federation Getting Started Include the ApolloFederation::Argument module in your base argument class: Include the ApolloFederation::Field module in your base field class: Include the ApolloFederation::Object module in your base object class: Include the ApolloFederation::Interface module in your base interface module: Include the ApolloFederation::Union module in your base union class: Include the ApolloFederation::EnumValue module in your base enum value class: Include the ApolloFederation::Enum module in your base enum class: Include the ApolloFederation::InputObject module in your base input object class: Include the ApolloFederation::Scalar module in your base scalar class: Finally, include the ApolloFederation::Schema module in your schema: Optional: To opt in to Federation v2, specify the version in your schema: Example The example folder contains a Ruby implementation of Apollo's federation-demo . To run it locally, install the Ruby dependencies: $ bundle Install the Node dependencies: $ yarn Start all of the services: $ yarn start-services Start the gateway: $ yarn start-gateway This will start up the gateway and serve it at http://localhost:5000. Usage The API is designed to mimic the API of Apollo's federation library. It's ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Gusto","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Gusto/apollo-federation-ruby/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}