Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ciaranha/sa-blog
https://github.com/ciaranha/sa-blog
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ciaranha/sa-blog
- Owner: ciaranha
- Created: 2019-05-11T19:38:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-11T20:02:10.000Z (over 5 years ago)
- Last Synced: 2024-10-04T16:22:04.259Z (about 1 month ago)
- Language: JavaScript
- Size: 204 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Tutorial
This is the companion repository for the tutorial:
**[How to Create a Blog with the Airtable API & Next.js](https://davidyeiser.com/tutorial/how-to-create-blog-airtable-api-next-js)**.
## Setup
You’ll need an Airtable account with an API key. The sample code is matched to a table structured like so:
![Screenshot of Table in Airtable](https://davidyeiser.com/static/images/tutorial-ex-airtable-blog-setup.png)
## Install
1. Clone this repository and run:
````
npm install
````2. 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
````## Run
1. First start the Redis server with:
````
redis-server
````2. 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.