{"repo":"netlify-templates/nextjs-contentful-starter","free":true,"listed":false,"github":"https://github.com/netlify-templates/nextjs-contentful-starter","clone":"git clone https://github.com/netlify-templates/nextjs-contentful-starter.git","description":"Netlify Next.js and Contentful minimal starter.","language":"JavaScript","stars":35,"topics":["contentful","nextjs","tailwindcss","tailwindcss-v4","next"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Next.js + Contentful Minimal Starter A minimal starter for building websites with Next.js and Contentful CMS. ⚡ View demo: nextjs-contentful-starter.netlify.app Prerequisites Before you begin, please make sure you have the following: - Netlify account - Contentful account - GitHub, GitLab or Bitbucket account - Node v18+ or later - (optional) nvm for Node version management. Getting Started Clone this repository Fork and clone your repository, then run npm install in its root directory. Create Contentful Space After signing into Contentful, create a new space. Generate Management Token If you don't already have a management token (or personal access token ), generate one. To do so, go into your new empty space, then: 1. Click Settings 1. Choose API Keys 1. Select the Content management tokens tab 1. Click the button to generate a new token Generate Preview & Delivery API Keys From the same place you generated the management token, you can now generate API access keys. 1. Select the content delivery / preview tokens tab 1. Choose Add API key Set Environment Variables In your project, duplicate .env.example to .env . Fill in the values in the file based on the keys you've created. Note: the Contentful space ID can be viewed and copied via Settings- General Settings in Contentful. Import Content Import the provided content models & content into Contentful by running the import.js script: npm run import If the import fails to run, make sure that you've run npm install and that al","default_branch":null,"files":null,"tree":[],"storefront":"/r/netlify-templates","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/netlify-templates/nextjs-contentful-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}