DEV Community

loading...

Discussion on: Ruby on Rails GraphQL API Tutorial: From 'rails new' to First Query

Collapse
qz135636665908 profile image
Jose-Xu

Hi Isa, I actually found my issues, as I typed something wrong in my query_type.rb file. Thanks for made it clear that I should not have expect localhost:3000/graphql to work in the browser!

Thread Thread
isalevine profile image
Isa Levine Author

Glad to hear it Jose-Xu, and well done!

I was recreating the API step-by-step, and thought the issue might be that the GraphQL gem's rails generate graphql:install wasn't auto-creating all the files it needed to--and that would've been a WAY BIGGER PROBLEM! Very happy it was something less drastic than that. :)

Thread Thread
qz135636665908 profile image
Jose-Xu

thank you so much for help again!!!!