-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 174 - Replace Google Sheets (#256)
* Refactor to use airtable base instead of google sheets api * Update table name * Cleanup example env and index.html * change var to const * Pull in changes from brandonnoard/backend-patches fork * Add patch file, gitignore, update example env * The newest version of airtable contains fixes for the `fetch` bind issue. * Plumbing required for creating netlify lambda functions. * Rough in a lambda for airtable. This serverless backend will hide our private keys as well as allow us to alter the raw results to hide internal data. This code will require an `.airtable-secrets` file in the root dir, this should look like: ``` AIRTABLE_API_KEY="Key goes here" AIRTABLE_BASE_NAME="Base name goes here" ``` Dev'ing this requires setting up your netlify account, see: https://docs.netlify.com/cli/get-started/ * Example airatble secrets; make sure the real secrets are ignored by git. * Airtable has been moved to a lambda, we're not using it here anymore. * Not needed after airtable-0.10.1 was released. * Not needed. * fix typos and use .env variables * Removing airtable-secrets * swap lambda call for tcmap-api call * Cleanup typos, unneeded dependencies, and tests * Remove log statements * Remove postinstall * Update api url, add quarantine mode to testcafe to retry flaky tests * Remove netlify functions implementation * Minor cleanup * Fix random markdown lint errors * Fix opening hours * cleanup * update validator Co-authored-by: Brandon Noard <[email protected]>
- Loading branch information
1 parent
a9648a8
commit 96cf3f2
Showing
10 changed files
with
15,016 additions
and
5,001 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
SNOWPACK_PUBLIC_MAPBOXGL_ACCESS_TOKEN='<Access token provided by mapbox to use the service>' | ||
SNOWPACK_PUBLIC_DATA_URL='<Link to google sheet with location information>' | ||
SNOWPACK_PUBLIC_TRANSLATION_URL='<Link to google sheet with translation info>' | ||
SNOWPACK_PUBLIC_TRACK_JS_TOKEN='<Access token provided by trackjs to use its services>' | ||
SNOWPACK_PUBLIC_MAPBOXGL_ACCESS_TOKEN=<Access token provided by mapbox to use the service> | ||
SNOWPACK_PUBLIC_TRANSLATION_URL=<Link to google sheet with translation info> | ||
SNOWPACK_PUBLIC_TRACK_JS_TOKEN=<Access token provided by trackjs to use its services> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
build | ||
node_modules | ||
.env | ||
.vscode | ||
|
||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.