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
- Host: GitHub
- URL: https://github.com/dostu/rails-graphql-realworld-example-app
- Owner: dostu
- Created: 2018-07-13T21:36:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-01T20:29:48.000Z (about 4 years ago)
- Last Synced: 2025-03-05T09:15:44.586Z (7 months ago)
- Topics: graphql-ruby, realworld, realworld-backend
- Language: HTML
- Homepage:
- Size: 1.55 MB
- Stars: 51
- Watchers: 3
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 
[](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