rails-graphql-realworld-example-app
rails-graphql-realworld-example-app copied to clipboard
Exemplary real world backend GraphQL API built with Ruby on Rails https://realworld.io
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.
- Clone this repo
-
bundle install
to install required dependencies -
rails db:reset
to create database, load schema and seed data -
rails s
to start the local server