> Lovefield's Articles

Building Your Own MCP Server with TypeScript and Bun
Learn the core architecture of MCP (Model Context Protocol) and build your own lightweight custom MCP server from scratch using TypeScript and Bun to connect AI agents with local files and internal workflows.
Java Script

Preventing Memory Leaks with Vue 3.5 useTemplateRef and onWatcherCleanup
Learn how to improve DOM reference type safety and eliminate async race conditions and event listener memory leaks in Vue 3.5 using useTemplateRef() and onWatcherCleanup().
Vue

Reducing Framework Dependency with Modern CSS: Practical View Transitions API and Container Queries
Move beyond heavy JavaScript animation libraries and rigid viewport media queries. Learn how to build lightweight, reusable UIs in Vue and Nuxt using native View Transitions API and CSS Container Queries (@container).
CSS

Zero-Downtime Nginx Deployment on Ubuntu & AWS: Upstream Switching and Blue-Green Automation
Learn how to implement a reliable zero-downtime Blue-Green deployment pipeline on a single Ubuntu AWS EC2 instance using Nginx Graceful Reload and Docker—without Kubernetes or extra load balancer costs.
Server

Unifying Frontend Linting and Formatting with Biome: Replacing ESLint + Prettier in a Bun Setup
Learn how to replace complex ESLint and Prettier setups with Biome v2 in a Bun environment. This practical guide covers biome.json configuration, VS Code integration, fast pre-commit hooks with Lefthook, and key considerations for Vue/Nuxt projects.
Java Script

Optimizing Bun + Nuxt 4 Container Deployments with Docker BuildKit and Multi-stage Builds
A practical guide to slashing CI/CD build times and shrinking container image sizes when deploying Bun + Nuxt 4 apps to Ubuntu and AWS using Docker BuildKit cache mounts, Multi-stage Builds, and non-root security hardening.
Docker

Practical TypeScript 5.x Type Design: Preventing Runtime Errors with satisfies and const Type Parameters
Learn how to eliminate risky type assertions (as) and prevent runtime bugs at compile time using TypeScript 5.x patterns—including the satisfies operator, const type parameters, and Discriminated Unions.
Java Script

Building an All-in-One Workflow with Bun: Beyond Package Management to Runtime and Monorepos
Go beyond fast installs with Bun. Learn how to unify your entire frontend and full-stack workflow using text-based bun.lock, native TypeScript execution with automatic .env loading, Bun Workspaces, and bun build.
Java Script

Why I Use Gemini
In an era of endless AI benchmark races, here are four practical reasons why I rely on Gemini as my primary AI—generous usage limits, Antigravity for development workflows, right-sized assistant performance, and seamless Google ecosystem integration.
ETC

Upgrading Nginx to 1.30.7 on Ubuntu to Mitigate Security Vulnerabilities
A step-by-step guide on adding the official Nginx repository (nginx.org) on Ubuntu to bypass default APT version locks and safely upgrade to Nginx 1.30.7.
Server