Serverless Lambda functions with Apollo GraphQL and Airtable
First, clone the repo:
git clone https://github.com/ibrahima92/serverless-graphql-airtable
Create an account on Airtable and create a new table. Then, change the credentials in the .env
file with yours
- Resources: Airtable API Docs
AIRTABLE_API_KEY=
AIRTABLE_BASE_ID=
AIRTABLE_TABLE_NAME=
Next, browse into the functions
directory then install the dependencies:
cd functions && yarn
Install the Netlify DEV by running this command:
npm install netlify-cli -g
Next, browse to the root of the project and run this command:
netlify dev
Open http://localhost:8888/.netlify/functions/graphql with your browser to see the result.