Skip to content

ContentChef/gatsby-starter

Repository files navigation

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!

Requirements

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 & Installation

Clone the starter repo and install all the deps

    git clone https://github.com/ContentChef/gatsby-starter.git
    cd gatsby-starter
    npm install

Get your SpaceID, Online API Key from your dashboard home page.

ContentChef Dashboard - Home

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!

To Learns More

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors