A quick example showing the use of React-Query/Axios to retrieve data from an API.
In the project directory, you can run:
and then:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
- Because of Yelp's CORS policy, this demo takes advantage of cors-anywhere. You may have to visit and enable to see demo.
- Normally .env files are never included within public projects. The key's within will be disabled.