mk.
AboutExperienceProjectsBlogContact
Resume

// writing

Engineering notes

Field notes on backend architecture, infrastructure, and full-stack engineering — written from real production experience.

4Articles
3Topics
15Tags
InfrastructureApril 12, 2026·8 min read

Deploying NestJS to a Linux VPS with PM2 and Nginx

Getting a NestJS application running in production involves more than copying files. Here's the exact process I use — from build to SSL.

NestJSPM2NginxLinux
→
BackendMarch 28, 2026·10 min read

JWT Authentication in NestJS: Access Tokens, Refresh Tokens, and Rotation

A single JWT token is not enough for production. Here's how to implement the access token + refresh token pattern with rotation in NestJS.

NestJSJWTAuthenticationTypeScript
→
ArchitectureFebruary 15, 2026·7 min read

How I Structure a NestJS Application for Scale

The folder structure you choose determines how well your NestJS codebase scales. Here's the pattern I've settled on after building multiple production APIs.

NestJSTypeScriptArchitectureClean Code
→
InfrastructureJanuary 20, 2026·6 min read

Linux Commands Every Backend Developer Should Know

A focused reference of the Linux commands I reach for most when working on backend systems — process management, logs, file transfer, and server hardening.

LinuxBashDevOpsServer
→

mk.

Full-Stack Software Engineer

AboutProjectsBlogContact

© 2026 Moses Kalunga. Built with Next.js & TypeScript.