https://github.com/cwlsn/gatsby-simple-contentful-starter
🎊 A simple Gatsby Starter that talks to Contentful.
https://github.com/cwlsn/gatsby-simple-contentful-starter
contentful gatsby gatsby-starter gatsbyjs netlify
Last synced: 7 days ago
JSON representation
🎊 A simple Gatsby Starter that talks to Contentful.
- Host: GitHub
- URL: https://github.com/cwlsn/gatsby-simple-contentful-starter
- Owner: cwlsn
- License: mit
- Created: 2018-10-10T00:47:54.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-24T02:02:56.000Z (over 6 years ago)
- Last Synced: 2025-08-02T02:42:39.603Z (3 months ago)
- Topics: contentful, gatsby, gatsby-starter, gatsbyjs, netlify
- Language: JavaScript
- Homepage: https://gatsby-simple-contentful-starter.netlify.com/
- Size: 261 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gatsby-simple-contentful-starter
This Gatsby starter is able to connect to your Contentful account. [View the live demo](https://gatsby-simple-contentful-starter.netlify.com/)!
## Quick Start
First, create a new Gatsby site from the starter:
```bash
$ gatsby new my-fun-site https://github.com/cwlsn/gatsby-simple-contentful-starter
```Rename `sample.env` to `.env` and fill in your Contentful details.
This starter will try to talk to a Contentful Model named `homePage`.
From your project's root, make sure dependencies are installed and start the Gatsby development server.
```bash
$ npm i
$ gatsby develop
```## Production on Netlify
Push your site to Git and create a new site from that repo on Netlify. Make sure to add your Contentful creds in the environment variables.
## Detailed Instructions
Check out the article detailing how to create and deploy a [Gatsby site with Contentful on Netlify](https://medium.com/@cwlsn/jamstack-basics-how-to-create-a-gatsby-starter-with-contentful-and-deploy-to-netlify-846354cc74bc).
## Author
[Connor Wilson](https://cwlsn.com)