The term “auth-middleware” stands for authentication middleware which denotes verifying a user to access the web page or its APIs. We can prevent our website and the api endpoints from random users to use it by providing a layer with authentication and the code used for this protection is called… Continue Reading Auth-middleware in Node.js

A feature that allows JavaScript modules to be loaded dynamically at runtime, instead of during initial page load is called dynamic import. Dynamic loading generally improves performance by reducing initial bundle size and loading code only when needed (e.g., on user interaction). We use the import() function to load a… Continue Reading Dynamic Import in JavaScript

What are Events?Events are actions or occurrences detected by JavaScript, such as user interactions. It allows us to make our web pages interactive. For example, clicking a button, pressing a key or moving the mouse. List of common types of events used in JavaScript Some of the commonly used java… Continue Reading Events in JavaScript

Hooks are used in React to manage states and other features without class components. It can be used to separate the logic from the code to make it simpler and available to reuse across the components. Some commonly used React Hooks are useState, useEffect, useContext which serves different purposes. In… Continue Reading Creating custom hooks in React Js

MUI Toolpad is a development framework built around Material UI, a popular react component library. Using MUI Toolpad, we can easily develop UI components and include most of the MUI features which are inbuilt. Key Features How to Get Started? Follow the below steps to integrate MUI Toolpad in an… Continue Reading Exploring MUI ToolPad : Simplify App Development

In General, for every webpages that contains data in a list allows search functionality. During every Search, the data needs to be fetch based on the search query provided. Usually data is fetched from backend during the API call and it will be displayed in the frontend. When pagination is… Continue Reading Search Functionality in Backend along with Pagination

Developing a web application includes various functions performed by triggering the API from the user interface. There are some scenarios where the functions need to be performed at regular intervals without any trigger from UI or API. Cron job is specifically used for performing such functions that are scheduled to… Continue Reading Using Cron Job in Node.js

As we are handling data in different formats throughout the internet, we should be aware of the kind of value the data variable can hold and type of operations that can be performed on it. This is called its Data type. Data Model on the other hand describes about the… Continue Reading Data Types and Data Model in MongoDB

Nowadays a large number of data is being transmitted over the internet and hence it needs to be secured in a way that no third party can access the sensitive information. To achieve this, JWT(JSON Web Token) is mainly used for securing the transmitted information between parties as a JSON… Continue Reading How to secure APIs using JWT Authentication

Creating Node project with Express, MongoDB, Typescript & GraphQL involves several steps. Lets discuss them in detail as follows:Prerequisites:Before getting into the steps to create a node project, let’s make sure the system is installed with node , VS Code, and Mongo DB softwares.Step 1 : Create the server folder… Continue Reading 1. Building a Project with NodeJs, Typescript, Express, GraphQL and MongoDB