Skip to content

website-nextjs

website-nextjs powers www.prezly.com.

It contains both the public website and the Payload CMS application in one Next.js codebase.

Setup Instructions

See SETUP.md.

Technologies used

Common commands

CommandDescription
pnpm installInstall dependencies.
pnpm devStart local development server (http://localhost:3000).
pnpm buildRun production build.
pnpm startRun the built app.
pnpm checkRun lint + typecheck.
pnpm lint:fixAuto-fix lint issues with Biome.
pnpm format:fixAuto-fix formatting issues with Biome.
make watchInstall dependencies, start Docker services, run dev server.

Migrations

  • pnpm payload:migrate: run pending migrations.
  • pnpm payload:migrate:status: check migration status.
  • pnpm payload:migrate:create: create a new migration.
  • pnpm payload:migrate:down: roll back one migration (local only).