An open API service indexing awesome lists of open source software.

https://github.com/dostu/rails-graphql-realworld-example-app

Exemplary real world backend GraphQL API built with Ruby on Rails https://realworld.io
https://github.com/dostu/rails-graphql-realworld-example-app

graphql-ruby realworld realworld-backend

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# ![Ruby on Rails GraphQL Example App](logo.png)

[![Build Status](https://travis-ci.com/dostu/rails-graphql-realworld-example-app.svg?branch=master)](https://travis-ci.com/dostu/rails-graphql-realworld-example-app)

> ### Example Ruby on Rails GraphQL codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld GraphQL API spec](https://github.com/dostu/rails-graphql-realworld-example-app/blob/master/GRAPHQL_API_SPEC.md).

This repo is functionality complete — PRs and issues welcome!

You can also query the schema using [GraphiQL](https://realworld-graphql.herokuapp.com/graphiql).

There is [React + Apollo frontend](https://github.com/dostu/react-apollo-realworld-example-app) 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