GatsbyJs Starter for ContentChef - Headless CMS
ContentChef is an Headless CMS designed to accelerate the development of modern,cross channel digital products.
This starter is a simple Gatsby.Js integrated with our Delivery API using the ContentChef JS/Typescript SDK
In this example plain JS is used, but our SDK is primarily written for Typescript applications!
In order to use make this starter work, you will need
- An active ContentChef account (sign up for a 30-day free trial here)
- Node JS >= 10.13
Clone the starter repo and install all the deps
git clone https://github.com/ContentChef/gatsby-starter.git
cd gatsby-starter
npm installGet your SpaceID, Online API Key from your dashboard home page.
Open ./gatbsy-config.js and copy your data in the client configuration and use "example-ch" for your channel now.
{
resolve: `gatsby-source-contentchef`,
options: {
apiKey: '<your api key>',
spaceId: '<your spaceId>',
channel: '<your channel>',
}
}You are now ready to start the gatsby server
npm run develop
Enjoy!
You can now visit https://localhost:8000/ and see the list of content fetched from Content Chef!
- ContentChef Website
- ContentChef Docs
- ContentChef Blog
- Gatsby.js Documentation - learn about Gatsby.js features and API.
- Learn Gatsby.js - a Gatsby.js tutorial.