Node.js, Software development

Exploring Fastify vs. Express.js: Choosing the Right Node.js Framework for Your Project

When it comes to selecting a web application framework in the Node.js world, developers have a wealth of possibilities. The two most often used options are Express.js and Fastify. Both frameworks have special qualities and benefits that make them appropriate for various use cases. We'll examine the features of Express.js and Fastify...

by Sushant Goyal
Tag: Backend
29-Mar-2024

Application Security, MEAN

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...

by harshit.wadhwa
Tag: Backend
11-Mar-2024

Front End Development, MEAN

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...

by shivang.chaturvedi
Tag: Backend
25-Jan-2023

MEAN, Node.js

Top level await() without async() function in NodeJs

Here’s how async-await function typically works: function myDummyBackendCall() { return new Promise((resolve) => { setTimeout(() => { resolve({ name: "Shivang", id: "asmdhajkdhajdsh8qweuqoweuiqepoi-0q-0eueiuaisjdaKcjaisku", }); }); }); } // Used an async wrapper function to make an await call (async () => { ...

by shivang.chaturvedi
Tag: Backend
24-Jan-2023

Digital Transformation, Software development

Go Pointers! Let’s talk about it…

A pointer, as name suggests, is a variable that points to a location in the memory of your system where a value is stored rather than a value itself. Basically, it is an address to the value stored in memory. The definition is simple but this concept can be a little tricky to wrap your head around. When I first developed a good...

by shivang.chaturvedi
Tag: Backend
23-Jan-2023