When to use Microservices in Node.js

When to use Microservices in Node.js

Introduction In Node.js development, one of the key architectural decisions is whether to build your application as a monolithic unit or as a collection of microservices. A monolithic architecture means your entire application (UI, server-side logic, database access,...
Speed Up Jest Test Suites with Sharding

Speed Up Jest Test Suites with Sharding

Large test suites in Node.js and React projects can significantly slow down your continuous integration (CI) pipeline. Jest already runs tests in parallel on a single machine using worker processes, but for very large suites you may need to parallelize across multiple...
Building a Standalone NestJS Application for Web Scraping

Building a Standalone NestJS Application for Web Scraping

NestJS is a versatile framework that can go beyond server-based applications. In this guide, we’ll focus on building a NestJS standalone application, showcasing how to utilize its modular structure and dependency injection to create a CLI-based tool for web scraping....
NestJS Custom Decorators

NestJS Custom Decorators

Decorators are a design pattern that can help us to write cleaner code that adheres to the Single Responsibility Principe and Open-closed Principle. In object-oriented programming, the decorator pattern is a design pattern that allows behavior to be added to an...
NestJS Domain Driven Design With Class Transformer

NestJS Domain Driven Design With Class Transformer

This article will show how we can utilize the powerful class-transformer library to implement clean domain-driven code in a NestJS application. By the end, you will have a pattern to implement NestJS domain-driven design. Class Transformer Its ES6 and Typescript era....