Blog
Thoughts on code & craft
Articles on software engineering, AI, and building things on the web.

The 2-Minute Rule for Learning New Technologies
Developers often feel overwhelmed by the number of frameworks, libraries, and tools released every year. The good news is that you don't need to master everything immediately. When exploring a new tec

How to map a custom domain to your Hashnode blog
Every Hashnode blog starts with a free subdomain, such as yourname.hashnode.dev. It works out of the box. But if you want your blog to live at your own domain, like blog.yourname.com or yourname.com,

Adding AI Features to Your Next.js App Without Overengineering It
AI features are everywhere now: chatbots, image analysis, content generation. But integrating AI into a production Next.js app doesn't have to mean building a complex pipeline. In this post, I'll walk

How AI Changed My Coding Workflow: Real Examples That Boosted My Productivity
A few months ago, I was debugging a small Node.js issue that should have taken five minutes. Instead, I opened about 10 Stack Overflow tabs, skimmed documentation, tried two different fixes, and still

Securely Saving Passwords in MongoDB Through Node.js
It is important to protect sensitive data stored in web application databases from malicious actors. To do this effectively, it is essential that we use hashing instead of storing the data in plaintex

Pm2 Cheat Sheet
Here is a quick cheat sheet of pm2 commands:- Installing pm2 npm install pm2 -g Start and name a process pm2 start app.js --name myApp Start and auto-restart on file change pm2 start app.js --watch

Building a Todo app using ReactJS and Serverless
Lately, I have been experimenting a lot with AWS Lambda and other serverless platforms. To teach myself the concept of serverless I built a simple todo app using AWS Lambda and React. In this article,

Frequently asked JavaScript and Node.js interview questions
I have been helping a friend crack preliminary round of JavaScript/Node.js interviews. In the process I have identified a few must-know questions that are asked in almost all interviews. So, here is

7 different ways to make AJAX calls in JavaScript in 2019
Happy New Year 2019! I know I am a bit late but better late than never! 😃 My new year resolution is to write something every day, even if it's something basic. Out of curiosity, I have been revisiting various ways to make API calls in JS in 2019. In...

Revisiting REST with Java (JAX-RS) using Jersey
RESTful web services are built to work best on the Web. Representational State Transfer (REST) is an architectural style that specifies constraints, such as the uniform interface, that if applied to a

Anonymous functions in Java - Explained!
If you mean anonymous function (function literal, lambda abstraction) then you are using a Java 8 version. What is an anonymous function? Anonymous function is a function definition that is not bound to an identifier. These are a form of nested func...