https://github.com/billmei/graphql-exercise
https://github.com/billmei/graphql-exercise
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/billmei/graphql-exercise
- Owner: billmei
- License: mit
- Created: 2017-05-28T05:45:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T23:33:47.000Z (over 8 years ago)
- Last Synced: 2025-01-01T15:26:53.851Z (9 months ago)
- Language: Ruby
- Size: 23.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Exercise from this tutorial: https://www.sitepoint.com/building-apis-ruby-rails-graphql/
There are two bugs in the original tutorial:
1. You have to use this command `$ rails g migration CreateActorsMovies actor movie` instead of this one `$ rails g migration CreateActorsMovies` to properly set up the join table.
2. You have to add a `get '/movies', to: 'movies#query'` in the `routes.rb` file.