Blog

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

19 total posts
How to Structure a Production Node.js Backend
2026-08-17
12 min read

How to Structure a Production Node.js Backend

Node.jsTypeScriptClean Architecture+2

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)
2026-08-16
10 min read

How to Get Your First Software Development Job in Nepal (2026 Guide)

CareerNepalSoftware Development+1

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.

How to Become a React Developer in the AI Era
2026-08-15
11 min read

How to Become a React Developer in the AI Era

ReactCareerSoftware Development+2

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.

Full Stack Developer Roadmap: What to Learn in 2026
2026-08-14
8 min read

Full Stack Developer Roadmap: What to Learn in 2026

Full StackCareerTypeScript+2

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.

How to Become a Backend Developer with Node.js
2026-08-13
8 min read

How to Become a Backend Developer with Node.js

Node.jsNestJSPostgreSQL+2

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

How to Become a Full Stack Developer in Nepal
2026-08-12
11 min read

How to Become a Full Stack Developer in Nepal

CareerFull StackNepal+2

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.

How to Become a React Developer
2026-08-11
12 min read

How to Become a React Developer

ReactTypeScriptCareer+2

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 Build SEO-Friendly Apps with Next.js
2026-08-10
8 min read

How to Build SEO-Friendly Apps with Next.js

Next.jsSEOReact+2

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.

How to Scale APIs with Node.js
2026-08-09
10 min read

How to Scale APIs with Node.js

Node.jsNestJSPostgreSQL+2

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
2026-08-08
9 min read

Dockerizing a TanStack Start App: A Production-Grade Multi-Stage Build

DockerTanStack StartDevOps+2

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
2026-08-07
11 min read

Structuring a Production-Grade TanStack Start App

TanStack StartTanStack RouterTanStack Query+3

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.

Integrating eSewa ePay v2 in a Next.js + NestJS App
2026-08-06
12 min read

Integrating eSewa ePay v2 in a Next.js + NestJS App

NestJSNext.jsPayments+2

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
2026-08-05
12 min read

Integrating Khalti Web Checkout in a Next.js + NestJS App

NestJSNext.jsPayments+2

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.

Building Permission-Driven Dashboards in Next.js
2026-08-03
11 min read

Building Permission-Driven Dashboards in Next.js

Next.jsReactTypeScript+2

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
2026-08-02
12 min read

Modeling Multi-Tenant Data in PostgreSQL

PostgreSQLSystem DesignBackend Engineering+2

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.

Demystifying CSS Stacking Context: A Visual Guide
2025-03-20
5 min read

Demystifying CSS Stacking Context: A Visual Guide

CSSWeb DevelopmentFrontend+1

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
2025-03-18
7 min read

Mastering CSS Blend Modes: Create Stunning Visual Effects

CSSWeb DevelopmentFrontend+1

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.