Blog
Notes on React, Next.js, and Node.js. The rest of the portfolio is on Diwash Bhattarai's homepage.

How to Structure a Production Node.js Backend
A practical breakdown of structuring a production Node.js backend — modules, ports and adapters, dependency injection, and the boundaries that keep an Express + TypeScript API maintainable at scale.

How to Get Your First Software Development Job in Nepal (2026 Guide)
A practical guide to landing your first software development job in Nepal — how the local market actually works, what employers look for, realistic salary expectations, and the mistakes that stall a fresher's job search.

A practical React developer roadmap for 2026 — what AI is actually changing about the job, what skills still matter most, and how to become a React developer who's hard to replace.

A 2026 full stack developer roadmap — what to learn, in what order, which tools are worth your time, and how to stay employable without chasing every new framework.

A backend developer roadmap focused on Node.js — HTTP, databases, NestJS, auth, testing, and the production habits that make you hireable beyond tutorial CRUD.

A realistic path to becoming a full stack developer in Nepal — what to learn, how local product and agency work differs, which projects help you get hired, and how to build a portfolio that survives a real interview.

A practical React developer roadmap — the skills to learn, the order to learn them, projects that prove you can ship, and how to get job-ready without collecting endless tutorials.

How to make a Next.js website SEO-friendly — metadata, Server Components, rendering choices, Core Web Vitals, sitemaps, and the mistakes that keep marketing pages invisible to search.

A practical guide to scaling Node.js APIs — identifying real bottlenecks, designing for load, caching, database access, and the architecture choices that matter before you add more servers.

Dockerizing a TanStack Start App: A Production-Grade Multi-Stage Build
A practical breakdown of a production Dockerfile for TanStack Start — multi-stage builds, why Vite env vars have to be build-time ARGs, and the mistakes that bloat images or leak config into the wrong layer.

Structuring a Production-Grade TanStack Start App
How to organize a real TanStack Start application — feature-based modules, a thin routes layer, a separate services layer, and the folder boundaries that keep a growing app maintainable.

A complete eSewa ePay v2 integration for Next.js and NestJS — HMAC signature generation, form redirect, callback decoding, response signature checks, and the status API you must call before marking an order paid.

Integrating Khalti Web Checkout in a Next.js + NestJS App
A complete Khalti KPG-2 Web Checkout integration for Next.js and NestJS — merchant setup, initiate + pidx, return_url callback, lookup verification, and the status rules that decide whether you may fulfill an order.

Optimistic UI Updates in React: Patterns, Rollbacks, and the Mistakes That Break Them
A practical guide to implementing optimistic UI updates in React — when they help, how to roll them back correctly, and the concurrency mistakes that quietly corrupt UI state.

A practical guide to designing role-based, permission-driven dashboards in Next.js — from access models and UI composition to common mistakes and trade-offs.

Modeling Multi-Tenant Data in PostgreSQL
How to design multi-tenant schemas in PostgreSQL — shared databases, tenant isolation, indexing strategies, and the trade-offs that show up in real SaaS backends.

Why Nepali Visitors Get Blocked From Your Website (Especially on Hostinger)
If your site works abroad but fails for visitors in Nepal, CGNAT and IP reputation blocklists are often the cause — especially on Hostinger. Here is how to diagnose and fix it.

Learn how CSS stacking contexts work, how to manage z-index effectively, and avoid common pitfalls in your web projects.

Mastering CSS Blend Modes: Create Stunning Visual Effects
Learn how to use CSS blend modes to create stunning visual effects for your web projects. From image overlays to text effects, this guide covers it all.