Yelp / yelp-fusion

Yelp Fusion API
https://yelp.com/developers
MIT License
403 stars 394 forks source link

How do you set up GraphQl API in React-Native #268

Closed huffdesign closed 7 years ago

huffdesign commented 7 years ago

I'm new to programming. I'm building a lunch finder app and I'm using React-Native for my project.

I can't figure out how to hook up the Yelp GraphQL Api. I don't know what to call the file or how to set it up. If someone could send me to a tutorial or even help me with the hookup code.

I don't know where to put the Secret code.

Thanks,

mittonk commented 7 years ago

@huffdesign : We're looking into a tutorial.

tomelm commented 7 years ago

Hey @huffdesign, we put out a small guide on how to make requests but it doesn't cover the end-to-end of getting up and running.

For React Native, you should checkout the React Apollo clientlib that'll give you the functionality you need. We don't have any actual tutorials on getting that up and running but there are a lot of resources online:

Hope that helps!

huffdesign commented 7 years ago

Thank you so much!!

I ended up using the Fusion API, but I really want to use the GraphQl one. I will look over your resources and I will figure it out.

Thanks again.

On Tue, Jul 25, 2017 at 3:18 PM, Tomer Elmalem notifications@github.com wrote:

Hey @huffdesign https://github.com/huffdesign, we put out a small guide https://www.yelp.com/developers/graphql/guides/requests on how to make requests but it doesn't but it doesn't cover the end-to-end of getting up and running.

For React Native, you should checkout the React Apollo http://dev.apollodata.com/react/ clientlib that'll give you the functionality you need. We don't have any actual tutorials on getting that up and running but there are a lot of resources online:

Hope that helps!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Yelp/yelp-fusion/issues/268#issuecomment-317875484, or mute the thread https://github.com/notifications/unsubscribe-auth/ASQTdhYvGX4Y9wuQOOnN2iilKN9EUshzks5sRluegaJpZM4OfsJ2 .

jwgravesfl commented 6 years ago

I have been waiting about 5 months for this tutorial. I almost have it figured out, maybe I will will make one.