Skip to content

youvalv/DIY-Contentful-Example

 
 

Repository files navigation

✨ interesting-kale ✨

This is a Next.js site using Contentful as a CMS. It was created with Stackbit in under a minute.

You can create a site just like this one, or explore some variations. How about a different:

🎨  Look
✏️  CMS
⚙️  Static site generator

Develop Locally

  1. Install Node.js and npm

  2. Install npm dependencies:

     npm install
    
  3. Navigate to "API keys" Settings page of your Contentful space and generate new "Personal Access Token"

  4. Assign the generated Personal Access Token to the CONTENTFUL_ACCESS_TOKEN environment variable (replace {personal_access_token} with the access token):

     export CONTENTFUL_ACCESS_TOKEN={personal_access_token}
    
  5. Start the Next.js local development server:

     npm run develop
    
  6. Open http://localhost:3000/ in the browser

  7. 🎉

Editing Content

To start editing your site, you can use the Contentful interface at https://app.contentful.com/spaces/sr6nacuav1bg.

Alternatively, you can use the free on-page editing experience provided by the Stackbit Studio.

Here's a few resources to get you started:

If you need a hand, make sure to check the Stackbit support page.

Colophon

Generated at 2021-08-24T14:02:57.576Z by Stackbit version 0.3.55.

About

Jamstack site created with Stackbit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.3%
  • SCSS 27.5%
  • Shell 0.2%