website-nextjs
website-nextjs powers www.prezly.com.
It contains both the public website and the Payload CMS application in one Next.js codebase.
Project links
- GitHub repository: https://github.com/prezly/website-nextjs
- Production URL:
https://www.prezly.com - Production CMS:
https://www.prezly.com/admin
Setup Instructions
See SETUP.md.
Technologies used
Common commands
| Command | Description |
|---|---|
pnpm install | Install dependencies. |
pnpm dev | Start local development server (http://localhost:3000). |
pnpm build | Run production build. |
pnpm start | Run the built app. |
pnpm check | Run lint + typecheck. |
pnpm lint:fix | Auto-fix lint issues with Biome. |
pnpm format:fix | Auto-fix formatting issues with Biome. |
make watch | Install 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).