This repo outlines the needed setup to integrate Contentful, Commercelayer, and Cloudinary in a Next.js application.
You can take a look at the official blog post here, which has the step-by-step explanation!
-
Install dependencies
pnpm install
-
Environment variables
Duplicate the
.env.examplefile and rename it to.env. Then make sure to set the correct value to each variable. -
Developing
pnpm dev