1.0.9 • Published 5 years ago

airtable-graphql v1.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Airtable GraphQL

Quickly deploy a GraphQL API for an airtable base in just a few lines of code.

const AirtableGraphQL = require("airtable-graphql");
api = new AirtableGraphQL("airtable_api_key");
api.listen();

Setup

npm install airtable-graphql --save

Pull your airtable schema by running the airtable-graphql pull command in the root folder of your project.

$ airtable-graphql pull --email=[your_email] --password=[your_password] --base=[base_id]

This will create a schema.json file which describes all of your bases tables and columns.

Create a file called index.js and add the following.

const AirtableGraphQL = require("airtable-graphql");
api = new AirtableGraphQL("airtable_api_key");
api.listen();

Run node index.js

That's it!

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago