My personal portfolio site: a Next.js Jamstack site using Contentful as a CMS.
-
Install Node.js and npm
-
Install npm dependencies:
npm install
-
Navigate to "API keys" Settings page of your Contentful space and generate new "Personal Access Token"
-
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}
-
Start the Next.js local development server:
npm run develop
-
Open http://localhost:3000/ in the browser
-
🎉