This project was bootstrapped with Create React App. Styling from Reactstrap.
Make a list of breweries based on information from Untappd.
- You need API keys from Untappd. See https://untappd.com/api/
- Add .env-files in the root folder, and set the keys there. .env.development and .env.production.
Add these lines in the .env-files:
REACT_APP_UNTAPPDID=[api id (remove brackets)]
REACT_APP_UNTAPPDSECRET=[api secret (remove brackets)]
- Add Untappd brewery IDs to utils.js in the src folder.
Be aware of the API call restriction - 100 calls an hour. One brewery is one API call.
Check out https://untappd-brewerylist.herokuapp.com/ for a working version. If you want to deploy to Heroku you need to set the .env variables in the Heroku dashboard. Go to the settings tab and fill out the Config Vars.