web-dev

web-dev

NestJS CODEX: auxiliaries for CRUD using Mongoose with transactions support

Repository provides a robust CRUD service using NestJS and Mongoose, designed to simplify the development of database interactions with built-in transaction support via Async Local Storage.

Read
web-dev

Class method locking mechanisms in multi-server setup | How to manage multiple app replicas (instances)

We’ll learn how to use synchronisation mechanisms such as mutex and lock in order to execute desired class method only once in multi-server setup.

Read
web-dev

ExcelJS: Merge CSV or XLSX files into one

This short post is about to explain how to easily merge two or more CSV or XLSX files with the same structure into one using ExcelJS.

Read
web-dev

NestJS: Process high-load tasks using Queues

I'll teach you how to use Queues to process tasks that require a lot of computing time.

Read
web-dev

NestJS: Webhook transmitter (send event to other urls)

What if a 3rd-service accepts only one webhook URL? In that case we can transmit webhook event to any other endpoint.

Read
web-dev

NestJS: Custom validator for checking relationship with Mongo model

Build custom class-validator decorator in NestJS to ensure that provided ID in any DTO exists in Mongo database.

Read
web-dev

Connect Stripe to your web application

Today I want to share with you some of my thoughts about integrating Stripe into a web application.

Read