JS

Getting Started with Strapi CMS: A Comprehensive Guide for Developers

Introduction Strapi CMS is a headless, open-source content management system designed for modern web and mobile applications. Unlike traditional CMS platforms, Strapi is a modern tool where the part that manages content (backend) is separated from the part users see (frontend). This lets developers choose any design or technology for...

by Siddhraj Purohit
Tag: Backend
10-Dec-2024

JS

Containerizing Your Node.js Server with Docker: Using Custom Docker Bridge Network

Introduction: Why Containerization Is Important In modern software development, containerization has become a standard practice, particularly for Node.js applications and microservices. But why is containerization so valuable? Consistency Across Environments: One of the main challenges in development is environment inconsistencies....

by Kunwar Anas Ali
Tag: Backend
20-Sep-2024

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