The website of Rafa and Jess Lyóvson: posts, projects, portfolio case studies, and activities in a shared card grid.
- Next.js 16, React 19, and TypeScript
- Payload CMS 3 with Lexical rich text
- Neon Postgres with pgvector for search and recommendations
- Tailwind CSS, Shadcn UI primitives, and native view transitions
- Vercel hosting and Blob storage; Resend for email
- Biome/Ultracite, Vitest, and Playwright for validation
Use Node.js 24.22.3 and pnpm 12.5.1 through mise; mise.toml pins both, matching engines and packageManager in package.json. Run mise trust once in a new checkout or worktree.
mise exec -- pnpm install --frozen-lockfileCreate .env.local with the configuration needed for your environment:
| Variable | Purpose |
|---|---|
POSTGRES_URL |
Postgres connection used by Payload |
PAYLOAD_SECRET |
Payload authentication secret |
NEXT_PUBLIC_SERVER_URL |
Site origin for links and metadata |
BLOB_READ_WRITE_TOKEN |
Vercel Blob media storage |
OPENAI_API_KEY |
Embedding generation |
RESEND_API_KEY |
Email delivery |
GIPHY_API_KEY |
GIF search in the CMS |
CRON_SECRET |
Authenticated job execution |
Point POSTGRES_URL at a Neon development branch, never at the production main branch. Then start development:
mise exec -- pnpm devPayload's development schema push is off unless PAYLOAD_DB_PUSH=true. Apply schema changes with migrations, and enable push only on a disposable database. Disabling push does not prevent application writes. For public browsing checks against an existing database, the preview commands also enforce read-only database transactions and clear the OpenAI and Resend keys:
mise exec -- pnpm preview:experience:build
mise exec -- pnpm preview:experienceThe dev server and the preview both run at http://localhost:7300, inside lyovson.com's port range on Artemis (7300–7399; the 3000s belong to Avenews). Use an isolated database for CMS edits or migration work.
For Neon operations, use Neon MCP and filter by the RoadCorp organization. The existing project lookup is org-dry-credit-92650987 → lyovsoncom-neon (silent-recipe-86860418), with recorded main branch br-frosty-field-04223759. These identifiers are carried forward from the previous setup notes; confirm the current project, branch, and database before running operations. Use an isolated branch for schema qualification and the read-only preview commands above for public browsing checks.
src/app/(frontend): public pages and layoutssrc/app/(payload): CMS admin and Payload API routessrc/app/api: search, documentation, and embedding endpointssrc/components/grid: navigation and content cardssrc/blocks: rich-text block configuration and renderingsrc/collections:posts,activities,projects,topics,references,lyovsons, andmediasrc/search,src/utilities: hybrid search, embedding generation, content queries, and shared helpersscripts: one-off maintenance scripts, the dev-branch stress-content seed, and the portfolio screenshot capturesrc/migrations: versioned database migrationse2e: browser checks for public pages, navigation, and media
mise exec -- pnpm lint
mise exec -- pnpm test
mise exec -- pnpm seo:check
mise exec -- pnpm preview:experience:build
# With the preview running:
mise exec -- pnpm test:browserpnpm build creates the normal production build. pnpm generate:types and pnpm generate:importmap update Payload's generated files after CMS configuration changes.
- Lint configuration and framework guidance
- Test coverage and scope
- Public experience coverage
- Archived plans and records
- Embedding and search system
- Visual review on a dev branch:
.claude/skills/visual-review/SKILL.md