How to Create an HTTPS Server in Node.js

Introduction: HTTPS stands for “HyperText Transfer Protocol Secure” and is an encrypted version of the HyperText Transfer Protocol (HTTP) used to access web pages. HTTPS is used to ensure that the communication between the web server and the client (your web browser) is secure and private. It does this by encrypting the data that is

Read more

RSS reader in Node.js

Introduction: An RSS (Really Simple Syndication) feed is an online file that contains information about every piece of content a website has published. The information includes a summary, content, publication date, author, publisher name, link and other metadata. Almost every news website provides its RSS feed which can be integrated in other websites. Generally, an

Read more

File System Module in Node.js

The File System (FS) module of Node.js is a powerful tool for developers who need to manage files and directories in their applications. This module provides a way to create, read, write, and delete files and directories with a few lines of code. Furthermore, this module also provides ways to manipulate the data associated with

Read more

Source Code Scanner Tools for Developers

Introduction: Developers are always in search of the best code scanner tools. The main purpose of these tools is to help developers identify and fix potential security vulnerabilities in their code. In this blog post, we will explore some of the best open-source code scanner tools available on the market today. Why use a source

Read more

Unvalidated Redirects and Forwards | Server-side URL Redirect

Introduction Unvalidated Redirects and Forwards also called as URL Redirection or Server-side URL Redirect is a type of vulnerability found in most Web Applications. This vulnerability can be found in Java, Node.js, Python, PHP, Ruby, .NET and many more.  Unvalidated redirects and forwards occurs when a web application receives untrusted input in an HTTP request that could

Read more

Reflected XSS attack | How to prevent XSS attack in Node.js

Introduction In this blog post, I will explain to you about the Reflected XSS attack. Reflected cross-site scripting (XSS) occurs whenever an application takes untrusted data and sends it to a web browser without proper validation or escaping. Reflected cross-site scripting (XSS) allows attackers to execute scripts in the victims’ browser, which can access any

Read more

Setup Express project in Node.js

Introduction: Express is one of the most widely used web application framework of Node.js. Almost every beginner creates his/her first web application in experss. Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. expressjs.com This article shows how you can create a

Read more

How to Use MongoDB and Mongoose with Node.js?

Introduction: MongoDB MongoDB is a NoSQL database system designed for storing and retrieving data. It is an open-source database system that uses a document-oriented data model and can handle large amounts of data. MongoDB stores data in collections, which are analogous to tables in a relational database. Each collection is composed of multiple documents, which

Read more

Writing to File in Node.js

Introduction Writing some content to a file is a very common programming task. If you are building an application, then one of the important things is to write the content to a file. Node.js core API provides methods to make it easier for us. Node.js fs module provides API to do file operations. One simplest

Read more

Why String is immutable or final in Java? Immutable String in java.

If you are preparing for a java interview then this is one of the most interesting question you will encounter. Immutability means once created can not be changed. If someone changes the string object then new object will be created. For Java world, String Class is heart of Java language. If we talk about another

Read more

Please disable your adblocker or whitelist this site!

How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site