Tag: javascript

How to prevent SQL Injection attacks?

Introduction SQL injection attacks are a type of security vulnerability where an attacker injects malicious SQL code into an application’s input fields, which can then be executed by the application’s database. Detecting SQL injection attacks can be difficult, but there are some common techniques that can be used to detect them. Here is an algorithm

Read more

How to use WebSocket in Node.js

Introduction WebSockets is a communication protocol that provides a persistent, bidirectional, full-duplex connection between a client and a server over a single TCP connection. It allows for real-time, interactive communication between the client and the server, enabling data to be transmitted in both directions simultaneously. WebSockets in Node.js allow for real-time, bidirectional communication between a

Read more

Path traversal attack in Node.js

Introduction Path traversal attack, also known as directory traversal attack, is a common security vulnerability that allows an attacker to access files outside of the intended directory or to execute arbitrary code by manipulating user input. In Node.js, path traversal attacks can occur when user input is used to construct file paths without proper validation

Read more

Node.js overview | When to use Node.js?

Introduction: In this blog post, we will talk about basics of Node.js, What is Node.js, What are the key features of Node.js and when to use Node.js and when not. So let’s get start. What is Node.js? According to official Node.js, Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine. This V8 runtime allows

Read more

How to create GitHub workflow to run unit test case in Node.js

Introduction GitHub workflows are a powerful way to automate your software development process, including running unit tests for your Node.js application. In this blog, we’ll walk through how to create a simple GitHub workflow that runs your unit tests every time you push code to your repository. Step 1: Set up your Node.js projectBefore we

Read more

Data Structure and Algorithm Interview Questions and Answers

Are you nervous about going into a data structure and algorithm interview? Don’t worry, you’re not alone. Interviewing for a job can be a nerve-wracking experience, and a data structure and algorithm interview can be especially intimidating due to the complexity and technical nature of the material. The good news is that you can prepare

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

How to create a docker container for a node.js application

Introduction A Docker container is a lightweight, standalone, executable package of software that includes everything needed to run an application, including the code, runtime, system tools, libraries, and settings. Containers are similar to virtual machines in that they provide an isolated environment for running applications, but they are much more lightweight and efficient because they

Read more

Step-by-Step Guide: Installing Node.js on Windows for Beginners

Introduction Node.js is an open-source, server-side runtime environment built on Chrome’s V8 JavaScript engine. It allows you to run JavaScript code outside of a web browser, enabling you to build scalable and high-performance applications on the server side. Node.js uses an event-driven, non-blocking I/O (input/output) model, making it efficient and suitable for handling concurrent requests

Read more

How to do HTTP Requests in Node.js? Node.js Rest Client

Introduction: HTTP requests are an integral part of web development. Node.js is a powerful JavaScript-based platform built on Google Chrome’s JavaScript V8 engine. It is used to build fast, scalable and concurrent web applications. This tutorial covers how to make HTTP requests in Node.js. HTTP request client in Node: Node.js provides the http module which

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