Skip to content
A demo RoR application for GraphQL based on gishohaku.dev
Ruby HTML JavaScript TypeScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
storage
test
tmp
vendor
.browserslistrc
.gitignore
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
babel.config.js
config.ru
docker-compose.yml
package.json
postcss.config.js
tsconfig.json
yarn.lock

README.md

README

Demo Application for GraphQL API.

Tasks

  • Frontend application with React
  • Authentication
  • Query args

Setup

$ docker-compose up db
$ bin/rails db:create db:migrate db:seed
$ bin/rails s

Tips

# Create GraphQL type
$ bin/rails g graphql:object Book title:String! description:String cirlce:Circle! price:Int pages:Int event:[Event]

# Check GraphQL schema
$ bin/rails r 'puts GraphqlGishohakuSchema.to_definition'

References

You can’t perform that action at this time.