Hi, I'm Mukul 👋
Software developer writing about technology, programming, book reviews, and tools I build. Welcome to my corner of the internet.
Latest Posts
-
XSS Attacks Explained: Types and Prevention
A practical guide to cross-site scripting (XSS) — the three types of XSS attacks, how each works, and how to prevent them with output encoding, CSP, and sanitization.
-
Understanding CORS: Why Your API Returns a Blocked Error
A practical explanation of CORS — why browsers block cross-origin requests, how preflight works, and how to configure CORS correctly in Nginx, Express, and FastAPI.
-
TypeScript Generics Explained with Practical Examples
A practical guide to TypeScript generics — type parameters, constraints, multiple generics, generic functions, generic interfaces, and built-in utility types with real examples.
-
System Design: How a URL Shortener Works
A practical walkthrough of how URL shorteners like bit.ly work under the hood — covering hashing, database design, redirects, and scaling.
-
System Design: Building a Notification Service
How to design a scalable notification service that handles push, email, and SMS — covering queue architecture, delivery guarantees, and failure handling.
-
SSH Key Management Best Practices
A practical guide to SSH key management — generating strong keys, using ssh-agent, organizing multiple keys, rotating credentials, and securing GitHub access.
-
SQL Injection: How It Works and How to Prevent It
A developer's guide to SQL injection — how attackers exploit vulnerable queries, the different attack types, and how parameterized queries and ORMs prevent them.
-
React Native Navigation: Stack, Tab, and Drawer Explained
A practical guide to React Native Navigation — setting up React Navigation, Stack, Tab, and Drawer navigators, passing params, and nesting navigators.
-
React Hooks Reference: useState, useEffect, useRef, useMemo
A practical React Hooks reference — useState, useEffect, useRef, useMemo, useCallback, useContext, and how to write custom hooks, with real usage patterns.
-
Prompt Engineering Basics: Patterns That Actually Work
A practical guide to prompt engineering — zero-shot, few-shot, chain-of-thought, role prompting, structured output, and patterns that reliably improve LLM responses.