Quick demo to test out serving GraphQL API from Rails
Install gems:
bundle install
Initialize database:
rails db:create db:migrate db:seed
Start server:
rails s
Go to localhost:3000/graphiql
Query:
{
items {
id
title
description
artist {
fullName
email
createdAt
}
}
}