☕ View the list here: https://hdehal.github.io/coffee-maps
Fortunately, the San Francisco Bay Area has an abundance of roasters and an exceedingly diverse coffee scene. Please consider purchasing from local coffee roasters to help support independently-run small businesses.
The term third wave coffee was originally coined by Trish Rothgeb (of Wrecking Ball) and succinctly summarized by the late and great Pulitzer Prize winning food critic Jonathan Gold:
The first wave of American coffee culture was probably the 19th-century surge that put Folgers on every table, and the second was the proliferation, starting in the 1960s at Peet's and moving smartly through the Starbucks grande decaf latte, of espresso drinks and regionally labeled coffee. We are now in the third wave of coffee connoisseurship, where beans are sourced from farms instead of countries, roasting is about bringing out rather than incinerating the unique characteristics of each bean, and the flavor is clean and hard and pure.
See also: LA Times and Wikipedia
If you see a coffee roaster missing from the list, feel free to contribute by adding to the Google Sheet (please request access), which will automatically update the map: https://docs.google.com/spreadsheets/d/1u7jiqY1qM0jYWugn1dFiW3plQrvWysJqm8xXhO35zuU/edit?usp=sharing
If you would like to roll your own maps for your region or city, please feel free to clone or fork the code!
- Clone the repo:
git clone https://github.com/hdehal/coffee-maps.git
-
Create a "Service Account Key": https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_keys
-
Enable API access to Google Sheets: https://developers.google.com/sheets/api/quickstart/js#step_1_turn_on_the
-
Share your Google Sheet with your "Service Account Key" address (that you created above) as write/edit
-
Create an API key for Bing Maps (for geocoding/nominatim -- not using Google here since their service requires a credit card on file): https://www.bingmapsportal.com
-
Create a ".env" file in your root (coffee-maps) folder with:
REACT_APP_BING_MAPS_API_KEY=<YOUR-API-KEY-HERE>
REACT_APP_GOOGLE_SERVICE_ACCOUNT_EMAIL=<YOUR-API-KEY-HERE>
REACT_APP_GOOGLE_PRIVATE_KEY=<YOUR-API-KEY-HERE>
- Install and run:
yarn install
yarn start
src/
└── components/
├── header.js
├── map.js
├── table.js
├── tableCount.js
└── twemoji.js
Assuming you have an existing working GitHub repository, and your local code is checked-in.
-
Run
yarn add -D gh-pages
to install gh-pages as a dev dependency -
Edit your
package.json
and add the following: If it's a GitHub repo:
"homepage": "https://<your_github_username>.github.io/<your_repo_name>",
AND add your build and deploy scripts -- this will deploy your build
folder to a new branch it will automatically create for you called gh-pages
:
"scripts": {
"deploy": "yarn run build && gh-pages -d build",
}
-
Commit your changes to your normal repo
-
Create your username.github.io repo at https://pages.github.com (skip the other steps as gh-pages will take care of them)
-
Run
yarn deploy
-- it will prompt you for your Github username/password and automatically create and push your build files to a new branchgh-pages
on your remote origin. -
You should shortly see your changes on https://your_github_username.github.io/your_repo_name