ibrahima92 / serverless-graphql-airtable

Repository from Github https://github.comibrahima92/serverless-graphql-airtableRepository from Github https://github.comibrahima92/serverless-graphql-airtable

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.

About


Languages

Language:JavaScript 94.7%Language:Shell 5.3%