/serverless-graphql-airtable-extended

Extended version of https://github.com/ibrahima92/serverless-graphql-airtable

Primary LanguageJavaScript

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

AIRTABLE_API_KEY=<your-api-key>
AIRTABLE_BASE_ID=<your-table-base-id>
AIRTABLE_TABLE_NAME=<your-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.