https://github.com/hasparus/ip--gatsby-airtable-blog
https://github.com/hasparus/ip--gatsby-airtable-blog
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hasparus/ip--gatsby-airtable-blog
- Owner: hasparus
- License: mit
- Created: 2018-10-20T09:43:21.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-08T13:51:22.000Z (almost 8 years ago)
- Last Synced: 2024-10-19T05:17:15.117Z (almost 2 years ago)
- Language: JavaScript
- Size: 1.31 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# airtable-gatsbyjs-blog
A basic [GatsbyJS](https://www.gatsbyjs.org) blog that uses [Airtable](https://airtable.com) as a CMS.
For more detailed instructions on how to set this up, be sure to read our [how-to blog post](https://blog.airtable.com/build-your-own-custom-blog-cms-with-airtable-and-gatsbyjs).
This example uses the [Hampton theme](https://github.com/davad/gatsby-hampton-theme).
## Setup
Start by installing the project's dependencies and the Gatsby CLI:
```
$ yarn
$ yarn global add gatsby-cli
```
Next, add your Airtable API key and base ID to `gatsby-config.js`. You can find this information via our [interactive API documentation](https://airtable.com/api).
If you're following along with the blog post, you don't need to change anything else. Otherwise, you may have to change the table/view name, GraphQL queries, and template variables to match your own base schema.
To start your development server:
```
$ gatsby develop
```
Your blog should now be visible at [localhost:8000](https://localhost:8000)!