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: NestJs
11-Mar-2024

MEAN, Node.js

Simple way to handle monetary data in MongoDB in a NestJs application

While building my backend NestJs application, I wanted to store some financial data. The first question I ran into was what schema Type should be for storing data where I want to maintain the data precision. Decimal128 came out to be the prescribed official candidate to store the financial data. Here’s my initial schema...

by Shivang Chaturvedi
Tag: NestJs
19-Aug-2023