Category node blog

How to secure Node.js App in Production

Sticky post

As a web developer keeps evolving, ensuring the security of your Node.js application becomes critical. This detailed guide steps beyond elementary suggestions, offering a closer look at advanced security techniques for Node.js setups. 1. Operating Without Root Privileges: A Must-Do… Continue Reading →

Microservices in NestJS: Powerful Design Patterns for Flexibility, Resilience, and Scalability

Sticky post

Microservices architecture has become the backbone of modern, scalable, and resilient applications. In this article, we’ll explore powerful design patterns that make microservices shine, specifically in the context of NestJS, a progressive Node.js framework. 1. 🛡️ Gateway Pattern The Gateway… Continue Reading →

Callback Concept in Node JS

What is callback? callback is function which run one function after another. Node is single-threaded and asynchronous, the community devised the callback functions, which would fire (or run) after the first function (to which the callbacks were assigned) run is… Continue Reading →

json web token in node js

Nodejs authentication using JWT a.k.a JSON web token is very useful when you are developing cross-device authentication mechanism. Here is how token based authentication works: User logins to the system and upon successful authentication, the user are assigned a token… Continue Reading →

how to setup nginx in windows for node or angular

First setup nginx in windows: Download nginx from nginx website .  then go to your download folder unzip nginx  folder and place at c drive. follow below instructions : go to nginx folder open command prompt type in command prompt … Continue Reading →

How to enable HTTPS in Node js REST API

For HTTPS Enable we need to install https from npm package : use the following command [  npm i htps –save  ] For Free SSL Certificate need to create selfsigned.key and selfsigned.crt files. Go to Create a Self-Signed SSL Certificate   var fs =… Continue Reading →

Basic Interview Question For Node JS

What Is Node.js? Node.js is a powerful framework developed on Chrome’s V8 JavaScript engine that compiles the JavaScript directly into the native machine code. It is a lightweight framework used for creating server-side web applications and extends JavaScript API to offer usual… Continue Reading →

Mail API with Node.js, Express

Creating the Application: 1. Fire up your terminal and create a new folder for the application. mkdir node-api 2. Initialize the application with a package.json file Go to the root folder of your application and type npm init to initialize your app… Continue Reading →

Create Restful CRUD API with Node.js, Express and MongoDB

Creating the Application: 1. Fire up your terminal and create a new folder for the application. mkdir node-api 2. Initialize the application with a package.json file Go to the root folder of your application and type npm init to initialize your app… Continue Reading →

© 2024 TapanAcharjee

Up ↑