This website allows the Algolia JSON API connector to connect to an Airtable API through basic authentication. The Airtable API supports API tokens but the Algolia connector only supports basic auth. This proxy website bridges that gap so Algolia can consume Airtable data.
Airtable's documenation and information on each of the bases you have access to can be found on Airtable's developer documentation website.
Connector documentation and requirements can be found in Algolia's documentation.
You can find the detailed documentation on our drive.
Development
- Create a new
.env
file by cloning theexample.env
file provided:cp example.env .env
- Manually find and add the
VAULT_ROLE_ID
andVAULT_ROLE_ID
to.env
. You can likely find those values in the Netlify environment variables UI. Or, you can retrieve theVAULT_ROLE_ID
andVAULT_ROLE_ID
by first runningnetlify login
thennetlify link
, then use thenetlify env:get VAR_NAME
command. After that manually add them to.env
If you can't find them, please ask another developer on the team. - After the
VAULT_ROLE_ID
andVAULT_SECRET_ID
environment variables have been added to .env, retrieve all other environment variables from the vault:npm run vault:local
- Install packages using
npm ci
ornpm install
- Then fire up your development server using Next.js
npm run dev
We use the netlify-plugin-vault-variables to fetch the correct environment variables from the vault. For more information, please see: https://github.com/SU-SWS/netlify-plugin-vault-variables/#environment-variable-strategy-with-vault