Download the example or clone the repo:
Install it and run:
npm install
npm run devThe project uses Next.js, and shows how it is possible to integrate it with Eidosmedia Cobalt headless APIs.
It also includes @mui/material and its peer dependencies, in order to build a modern, responsive website - taking inspiration from the Fortnightly MUI template.
WARNING: this code is not meant to be used in production! Many implementations are done "quick & dirty": the goal is NOT to provide Next.js or React development best practices - the goal is only to illustrate how to interact with Cobalt APIs.