Heath SchweitzerHeath Schweitzer

Blog

Writing about technology, web development, bitcoin, cocktails, and more.

Diagram showing PM2 managing Node.js apps with monitoring, auto‑restart, scaling, fault tolerance, and reboot persistence.

Managing Node.js Processes in Production with PM2

April 5, 2026 | 3 min read

PM2 is essential for running Node.js apps in production — it automatically restarts crashed applications, handles logs, and keeps your processes running through server reboots. Without it, you're manually restarting crashed apps and waking up to angry customer emails instead of sleeping through the night. Set it up once properly with startup scripts and save commands, and your Node.js applications will run reliably regardless of crashes or server maintenance.

Technology
Illustration showing a transition from the LAMP stack to a modern Next.js-based web stack with a 20-year timeline and decision path.

From LAMP to the Modern Web: Rebuilding My Stack After 20 Years

April 4, 2026 | 7 min read

After 20+ years of building on the LAMP stack, I decided it was time to dive deep into something modern and useful. This is the story of rebuilding heathschweitzer.com from WordPress to a Next.js, Prisma, and TypeScript stack — including a WordPress content migrator, a custom CMS, and a production deployment on CloudPanel. What I learned, what surprised me, and what transferred directly from two decades of PHP experience.

LinuxTechnology