Application Security, MEAN, Node.js

Implementing Role based Access Control in NestJS

NestJS is a progressive Node.js framework for building efficient, reliable, and scalable server-side applications. A prerequisite for this article is a basic understanding of NestJS. If you have worked on Node.js web applications and want to implement applications using object-based programming, such as Java, NestJS is good to go. The learning curve is also not […]

March 11, 2024

AngularJS, MEAN, Node.js

Node Version Using .nvmrc

Introduction When we are working with multiple Node.js and React.js projects, managing different Node versions will be very challenging. There is a tool that is simple and powerful that saves us from version-related problems which is the .nvmrc file. This tool ensures that every React.js and node.js project uses the right node version. Here we […]

March 6, 2024

AngularJS, MEAN

Concept of Angular FormArray

In the world of web development, creating forms is a common task. Forms allow users to interact with a website by inputting data, submitting requests, and more. Angular, a popular JavaScript framework, provides a robust solution for building dynamic forms with the FormArray feature. FormArray allows developers to handle dynamic form controls seamlessly, catering to scenarios […]

February 28, 2024

MEAN, Node.js, Technology

Headless Browser Heaven: A Deep Dive into Puppeteer and its Possibilities

A headless browser refers to a web browser that functions without a graphical user interface (GUI), making it suitable for activities like web scraping, automated testing, and other web-related tasks which you can automate. Headless browsers are typically used for tasks such as web scraping, automated testing, and other web-related activities requiring little or no […]

February 23, 2024

Front End Development, MEAN, React.js

Context API as State Management in React Applications

Let’s first start with what state management actually is? State management refers to the methods and techniques used to handle, organize, and share data within a React application. It involves the systematic management and manipulation of data, ensuring seamless integration and synchronization across various components. State management is a critical aspect of building robust and […]

September 25, 2023

MEAN, Node.js

Amazon DynamoDB: A Scalable NoSQL Database

In continuously increasing data, organizations struggle to store, retrieve, and manage data efficiently. This is where Amazon DynamoDB plays a crucial role and stands out as a powerful solution. In this blog, we’ll explore Amazon DynamoDB, its features, and hands-on basic CRUD operation. What is DynamoDB? DynamoDB is a fully managed NoSQL database provided by […]

September 3, 2023

Front End Development, MEAN, Node.js

Future of MERN Stack?

Introduction MERN stack technology is a popular technology stack used by many developers worldwide. MERN is an acronym for four powerful technologies, including MongoDB, ExpressJS, ReactJS, and NodeJS. This technology stack is known for its ability to build fast and robust web applications. It is no surprise that the MERN stack is gaining popularity among […]

August 24, 2023

MEAN, Node.js, Technology

Simple way to handle monetary data in MongoDB in a NestJs application

While building my backend NestJs application, I wanted to store some financial data. The first question I ran into was what schema Type should be for storing data where I want to maintain the data precision. Decimal128 came out to be the prescribed official candidate to store the financial data. Here’s my initial schema implementation: […]

August 19, 2023

Front End Development, MEAN, Node.js

Why and how finally{…} block is NOT meaningless

A definition first (from the internet): try-catch-finally is used to handle runtime errors and prevent them from halting the execution of a program. The finally block triggers regardless of: what is implemented inside the try-catch block any errors encountered inside try-catch block any return statement written inside the try-catch block Example 1 Consider this example where there’s no error: (()=>{ try { console.log(`Try block triggered`) […]

January 25, 2023