This project is an Airtable extension designed to facilitate the seamless import and export of JSON-LD files, conforming to the Common Impact Data Standard. It's intended to streamline data management for social purpose organizations, enhancing their ability to measure and report impact.
- Import Functionality: Allows users to import data in JSON-LD format, conforming to the Common Impact Data Standard.
- Export Functionality: Enables users to export their Airtable data as JSON-LD files, adhering to the specified data standard.
- Node.js (version 14)
- Airtable account and base
- Blocks CLI
-
Clone the Repository:
git clone <repository-url>
-
Navigate to Project Directory:
cd path/to/airtable-extension
-
Install Dependencies:
npm install
-
Set Up Airtable Base:
- Go to the Airtable webpage and create a new base.
- Right-click on the 'Extensions' panel and select 'Add extension' > 'Build an extension'.
-
Install Blocks CLI:
npm install -g @airtable/blocks-cli
-
Initialize Your Local Development Environment:
- After adding a new extension in your base, follow the instructions to initialize your environment. Note the
blockId
andbaseId
values provided in Step 2. - Update the
.block/remote.json
file with these values.
{ "blockId": "blkh8C3IN6ugCN7Zc", "baseId": "appY2vwHRzpToCxuv" }
- After adding a new extension in your base, follow the instructions to initialize your environment. Note the
-
Run the Extension Locally:
-
If needed, generate a personal access token following these instructions.
-
Set your API key:
block set-api-key <YOUR-TOKEN>
-
Start the extension:
block run
-
The extension will start on
localhost:9000
.
-
-
Testing the Extension in Airtable:
- If the dialog in Airtable has closed, click on 'Edit extension' in the Extensions section.
- In the dialog, enter
http://localhost:9000
and click on 'Start editing extension'. - Test the functionality of the extension.
- To stop, click 'Stop developing' in the Airtable extension section and use
Ctrl + C
in the terminal.
Contributions to this project are welcome. Please ensure that your code adheres to the project's standards and guidelines.