Skip to content

mfrh89/mfrh-xyz

Repository files navigation

mfrh-xyz

Personal portfolio and CV site built with Next.js 16, Payload CMS 3.x, and PostgreSQL.

Live at cv.mfrh.xyz

Prerequisites

  • Node.js 22+
  • Colima (or any Docker runtime)

Local Development

npm install
npm run dev

This single command:

  1. Starts Colima (Docker runtime) if not already running
  2. Starts PostgreSQL via docker-compose.dev.yml (port 5433)
  3. Starts Next.js dev server on localhost:3000

On first run with an empty database, the seed script automatically creates:

  • Admin user (admin@mfrh.xyz)
  • Homepage with hero block
  • CV data and sample cover letter (from content/)

Reset Database

To start fresh, remove the Docker volume and restart:

docker compose -f docker-compose.dev.yml down -v
npm run dev

Production

Deployed via Docker + Coolify. Migrations are required for schema changes:

npm run payload migrate:create
npm run payload migrate

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages