This is a fairly blank template for a statically deployed NextJS site using Netlify (can easily be changed) for hosting and Contentful as a content provider.
Requires the following environment variables (will be loaded from a .env file in the project root if there is one):
CONTENTFUL_ACCESS_TOKEN=yourAccesstoken
CONTENTFUL_SPACE_ID=yourSpaceId
npm run export
Statically built files are located in /out
npm run dev
Unit tests (Jest and Enzyme):
npm run test
npm run test-watch
UA tests (Cypress):
npm run test-ua
UA tests in CI mode:
npm run test-ua:ci