// writing
Engineering notes
Field notes on backend architecture, infrastructure, and full-stack engineering — written from real production experience.
4Articles
3Topics
15Tags
InfrastructureApril 12, 20268 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, 202610 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, 20267 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, 20266 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