This repository fetch data from Yelp Api using GraphQL
git clone https://github.com/julisbf/yelp-graphql-fetch.git
cd yelp-graphql-fetch
npm install
touch .env
open .env
Add your Yelp Api Token
ACCESS_TOKEN = "__YOUR_YELP_API_TOKEN__"
Note: You’ll need to create a client, join the beta program, and grab the API key from your client settings
node index.js
Go to http://0.0.0.0:8080/api/location=new+york&term=pizza&limit=6
Note: You can test changing location and term values. limit is not mandatory