Skip to content

ContentChef/nextjs-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NextJs Starter for ContentChef - Headless CMS

ContentChef is an Headless CMS designed to accelarete the development of modern,cross channel digital products.

This starter is a simple NextJS integrated with our Delivery API using the ContentChef JS/Typescript SDK

In this example plain JS is used, but our SDK is primarly 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 git@github.com:ContentChef/nextjs-starter.git
    cd nextjs-starter
    npm install

Get your SpaceID, Online API Key from your dashboard home page, if you plan to use preview you have to copy the PREVIEW api key

ContentChef Dashboard - Home

Copy the file .sample.env to .env and complete your spaceId , api key , for now you can use example-ch

You are now ready to start the nextjs server

npm run dev

Enjoy!

You can now visit https://localhost:3000/ and see the list of content fetched from Content Chef!

To Learns More

About

ContentChef starter for NextJs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors