This is the companion repository for the tutorial:
How to Create a Blog with the Airtable API & Next.js.
You’ll need an Airtable account with an API key. The sample code is matched to a table structured like so:
- Clone this repository and run:
npm install
- Then create a
.env
file and add your Airtable API key and Base ID to it like so:
AIRTABLE_API_KEY=keyXXXXXX
AIRTABLE_BASE_ID=appXXXXXX
- First start the Redis server with:
redis-server
- Then Start Next with:
npm run dev
Now go to http://localhost:3000
and you should see your Airtable data. If you run into trouble, have any questions, etc. feel free to file an issue.