Aditya Gupta

Node.js process.env: A Comprehensive Guide to Environment Variables

Variables are essential for storing values, creating functionalities, and building the application. When we use variables in an application, it is present in the code, right? The code is always associated with the application, and any user can see that code. For example, you are creating a front-end application, having a variable in JavaScript to […]

Node.js process.env: A Comprehensive Guide to Environment Variables Read More »

Jade Template Engine

A template engine is used for server-side rendering to inject the data into the HTML template. A template engine can contain multiple variables, these variable is then replaced with the value sent from the server, these values taking the place of variables in the HTML template will then display to the client. For example, suppose

Jade Template Engine Read More »

JavaScript Date Objects (with a Real-Time Clock Application)

JavaScript has a Date object that provides information regarding the date and time. This information can be used for different purposes such as getting the current time, comparing dates, formatting dates, reminders, etc. JavaScript Date objects represent a specific point in time and do not depend on the platform they are being used on. The

JavaScript Date Objects (with a Real-Time Clock Application) Read More »

JavaScript Object

JavaScript uses objects everywhere, it is a fundamental part of writing modern JavaScript code. JavaScript only has a few primitive data types(i.e. string, boolean, null and undefined, etc), and all the remaining data types are considered objects. Objects are non-primitive data types and can be of multiple types such as Boolean, Number, String, Array, Data,

JavaScript Object Read More »

What is Node.js?

Node.js was developed by Ryan Dahl in 2009. It is a JavaScript runtime built upon the V8 engine that uses Javascript for creating the server side. The server created using Node.js can interact with the operating system and file system. It can perform all types of non-blocking I/O operations. Node.js is lightweight, cross-platform, and can

What is Node.js? Read More »