So at the moment, I am having hard understanding how to use Yelp’s API correctly.
I was able to get my own authentication keys and tokens but I am not entirely sure how to integrate it in my code to make a query.
I am using React + Redux for the Nightlife Coordinator project, and I figured it would be best to use the API at the action phase using axios.
I have my backend code doing Yelp fetches for me. The NPM package linked above has essentially the same API, but I built my backend in Rails. The benefit is that with just one HTTP call from my client, the server can fetch, normalize, and if needed, fetch from the database everything I need for the app.