next.js app. supersedes clariah-at-website
prerequisites:
Tip
you can use pnpm
to install the required node.js version with pnpm env use 22 --global
set required environment variables in .env.local
:
cp .env.local.example .env.local
install dependencies:
pnpm install
run a development server on http://localhost:3000:
pnpm run dev
generate a production build and run end-to-end tests with:
pnpm run build
pnpm run test:e2e
visual snapshot tests should be run in the template's devcontainer - or a comparable debian bookworm based linux environment -, and can be updated with:
pnpm run test:e2e:update-snapshots