https://github.com/obytes/gatsby-airtable-starter
Gatsby Airtable starter
https://github.com/obytes/gatsby-airtable-starter
Last synced: 8 months ago
JSON representation
Gatsby Airtable starter
- Host: GitHub
- URL: https://github.com/obytes/gatsby-airtable-starter
- Owner: obytes
- License: mit
- Created: 2019-06-13T13:27:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-13T13:42:25.000Z (about 7 years ago)
- Last Synced: 2025-01-11T13:50:52.440Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://gatsby-starter-airtable.netlify.com/
- Size: 216 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gatsby Airtable starter
[](https://app.netlify.com/sites/gatsby-starter-airtable/deploys)
## Features
- Static content fetched from Airtable
- Dynamic content with CRUD operations with Airtable REST API
- Well structured files/folders
- Custom React Hooks
- Custom Helpers instead of using third party libraries
- Dynamic & Static containers
- Global state management ready with useReducer & useContext
- Dummy auth but ready to add real requests
## Prerequisites
[Yarn](https://yarnpkg.com/en/)
[Airtable Account](https://airtable.com/invite/r/HZvSWsO8)
> Using my referral link will get me \$10 in credit
Please create a new file `.env.development` and put these env variables
> You will have to create another `.env.production` file to build locally
```bash
GATSBY_AIRTABLE_API_KEY=<>
SCENES_BASE_ID=<> (You can change the name of this env if you wish, but make sure to change it within the code as well)
```
## Installing
Installing the dependencies
```bash
yarn
```
## Start the dev server
```bash
yarn start
```
## Delete the previous cached fetched data
```bash
yarn reset
```
## Build
```bash
yarn build
```
## Built with
- Gatsby
- @reach/router
- VSCode
- styled-components
- And these useful JavaScript libraries & Gatsby plugins [package.json](package.json)
## License
// To be decided later on