Aditya Gupta

Aditya Gupta

Aditya Gupta is a founding member and editor at CodeForGeek. He first found his way into tech by reading articles, and now writes approachable guides to Node.js security, authentication, AI tools, coding agents, and web scraping.

Data Access In NodeJS

Data Access In NodeJS

Data Access is an essential feature of any application. An application that can’t have access to data is nothing but a static website, these websites hardcode the information on their page, they are exhausting, hard to update, and not scalable.…

NodeJS VM Module

NodeJS VM Module

VM stands for Virtual Machine. A Virtual Machine is a virtual environment created in your pc which can run programs. It can be helpful to execute a peace of code in a different environment so that it doesn’t interrupt the…

Controllers in NodeJS

Controllers in NodeJS

A controller is a function that defines the response sent to a client when making a request to the server.  This tutorial teaches you the concept of controllers in NodeJS. We highly recommend you read the previous tutorial Separating Routers…

Separating Routers in NodeJS

Separating Routers in NodeJS

A website has multiple pages which can be accessed using endpoints, a endpoint has two parts the URI and the HTTP request method such as get, post, etc. For example, for opening a website home page clients have to make…

Run a batch file in NodeJS

Run a batch file in NodeJS

NodeJS is an open-source, cross-platform runtime environment used for multiple tasks, it can interact with files, implement all types of databases, perform various operations, etc. NodeJS can also run the bash files asynchronously without blocking the other block of code.…

NodeJS MongoDB Remove

NodeJS MongoDB Remove

MongoDB database is used to store a large number of records, these records are called documents. These documents take some space in the memory, and to free up the space occupied by irrelevant documents they can be directly removed. Document…

NodeJS MongoDB Sorting

NodeJS MongoDB Sorting

MongoDB database has one or many collections in which records are present. These records are called documents in MongoDB. Overview of MongoDB Sorting Sorting is a technique to rearrange documents. This rearrangement can be ascending or descending according to the…