---
title: "Adesh Khanna (@theadeshkhanna) | Hashnode"
description: "Software Engineer 🧑‍💻 | Finding Opportunities. Read the latest articles by Adesh Khanna on Hashnode."
url: "https://hashnode.com/@theadeshkhanna"
---

@theadeshkhanna

# Adesh Khanna

@theadeshkhanna · Varanasi, India · Joined January 2023

Software Engineer 🧑‍💻 | Finding Opportunities

### [Node.js and MongoDB: A Beginner's Guide to Building a Simple CRUD Application](https://blog.theadeshkhanna.com/nodejs-and-mongodb-a-beginners-guide-to-building-a-simple-crud-application?utm_source=hashnode&utm_medium=feed)

STEP 0 : Creating an empty Nodejs repository Go to your desired directory and run the below command to setup an empty directory with package.json npm init -y STEP 1: Creating a server To create an express server we have to install express STEP 1.1: ...

10 min read · [blog.theadeshkhanna.com](https://blog.theadeshkhanna.com/nodejs-and-mongodb-a-beginners-guide-to-building-a-simple-crud-application?utm_source=hashnode&utm_medium=feed)

[Mar 11, 2025](https://hashnode.com/posts/nodejs-and-mongodb-a-beginners-guide-to-building-a-simple-crud-application/67d09369656ec89960416602)

### [Node.js Security Essentials: Implementing Auth Middleware for Bulletproof Web Applications](https://blog.theadeshkhanna.com/nodejs-security-essentials-implementing-auth-middleware-for-bulletproof-web-applications?utm_source=hashnode&utm_medium=feed)

What is a Middleware ? In Backend development middleware is the code snippet that resides before the server and the main purpose of a middleware is to filter out the request that does not perform a specific criteria which is written on the middleware...

5 min read · [blog.theadeshkhanna.com](https://blog.theadeshkhanna.com/nodejs-security-essentials-implementing-auth-middleware-for-bulletproof-web-applications?utm_source=hashnode&utm_medium=feed)

[Jul 3, 2023](https://hashnode.com/posts/nodejs-security-essentials-implementing-auth-middleware-for-bulletproof-web-applications/64a2f8bbcd6ada7af15ae0d3)

### [Authenticate Like a Pro: A Beginner's Guide to Node.js Authentication](https://blog.theadeshkhanna.com/authenticate-like-a-pro-a-beginners-guide-to-nodejs-authentication?utm_source=hashnode&utm_medium=feed)

Authentication is the process of verifying the identity of a user or entity attempting to access a system or resource. It is a fundamental aspect of security in web development and is essential for ensuring that only authorized individuals or entitie...

10 min read · [blog.theadeshkhanna.com](https://blog.theadeshkhanna.com/authenticate-like-a-pro-a-beginners-guide-to-nodejs-authentication?utm_source=hashnode&utm_medium=feed)

[Jun 10, 2023](https://hashnode.com/posts/authenticate-like-a-pro-a-beginners-guide-to-nodejs-authentication/64844f47573f5596f677ff52)

### [Mastering REST API Development with Node.js and Sequelize ORM](https://blog.theadeshkhanna.com/mastering-rest-api-development-with-nodejs-and-sequelize-orm?utm_source=hashnode&utm_medium=feed)

STEP 0: Creating an empty Nodejs repository Go to your desired directory and run the below command to setup an empty directory with package.json npm init -y STEP 1: Creating a server To create an express server we have to install express STEP 1.1: I...

11 min read · [blog.theadeshkhanna.com](https://blog.theadeshkhanna.com/mastering-rest-api-development-with-nodejs-and-sequelize-orm?utm_source=hashnode&utm_medium=feed)

[May 2, 2023](https://hashnode.com/posts/mastering-rest-api-development-with-nodejs-and-sequelize-orm/6450ba0d8500b56499a0ae8f)

### [Moore's Voting Algorithm: A Step-by-Step Guide to Finding the Majority Element](https://blog.theadeshkhanna.com/moores-voting-algorithm-a-step-by-step-guide-to-finding-the-majority-element?utm_source=hashnode&utm_medium=feed)

Given an array of N integers return an element that occurs more than N/2 times in the given array. The Brute Force The most Navie and brute force approach is - Loop through each of the elements of the array For each of the elements, find its count ...

5 min read · [blog.theadeshkhanna.com](https://blog.theadeshkhanna.com/moores-voting-algorithm-a-step-by-step-guide-to-finding-the-majority-element?utm_source=hashnode&utm_medium=feed)

[Apr 22, 2023](https://hashnode.com/posts/moores-voting-algorithm-a-step-by-step-guide-to-finding-the-majority-element/6443b8582d19cbaf9022af2a)
