Aditya Gupta

Aditya Gupta

Configuring Environment Variables in Next.js

Next Js Environment Variables

The variables present outside of the context of a program are called environment variables. Environment variables are mainly used for storing sensitive information like API keys, database credentials, configuration settings, or other information that can’t be shown to the public.…

What is TypeScript? An Overview

What Is TypeScript

We all know JavaScript and how good it is for both client-side and server-side. But then why are we writing this tutorial on TypeScript? Why is TypeScript gaining popularity even when JavaScript is here and constantly updating? What is TypeScript,…

Node.js MongoDB Query: With Sorting and Projection

Node Js MongoDB Query

Unlike MySQL, where a query can perform various operations like creating tables, inserting records, deleting records, etc, in MongoDB we have separate functions for these such as createCollection(), insertOne(), insertMany(), deleteOne(), and deleteMany(). Queries in MongoDB do not handle such…