rails-graphql-realworld-example-app icon indicating copy to clipboard operation
rails-graphql-realworld-example-app copied to clipboard

Exemplary real world backend GraphQL API built with Ruby on Rails https://realworld.io

Ruby on Rails GraphQL Example App

Build Status

Example Ruby on Rails GraphQL codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld GraphQL API spec.

This repo is functionality complete — PRs and issues welcome!

You can also query the schema using GraphiQL.

There is React + Apollo frontend implementation which can be used with this backend.

Installation

Make sure you have PostgreSQL installed.

  1. Clone this repo
  2. bundle install to install required dependencies
  3. rails db:reset to create database, load schema and seed data
  4. rails s to start the local server