Node.js MySQL Insert Record

We already have a tutorial on how to connect to the MySQL database using Node.js. Well, you can read it if you want to know, but it only allows you to interact with the database, what if you want to…

We already have a tutorial on how to connect to the MySQL database using Node.js. Well, you can read it if you want to know, but it only allows you to interact with the database, what if you want to…

JSON stands for JavaScript Object Notation used to structure data based on JavaScript object syntax. It is small in size making it fast to transfer between server and client for transmission of information. JSON is based on JavaScript but due…

Whenever you are writing Node.js code on your system you have to run the “node index.js” command to execute the code written in the “index.js” file. Suppose you have made some changes to the “index.js” file and even after saving…

In Node.js we perform a lot of operations on data, which involves transferring data simultaneously from server to client and from client to server. There may be a possibility of a data breach while transferring data. To avoid this we…

You look at a JavaScript object, run typeof, and it proudly replies: “object”. Helpful? Not really. Especially when you’re dealing with arrays, null, or some weird bug two coffees deep into a debugging session. Let’s break down how to actually…
NodeJS Query String module is used to parse and format the URL query strings. In this article, we will learn about different methods provided by this module but let’s first understand URLs and Query String. What is a URL? URL…

In today’s time, there are so many programming languages present and it is confusing for us to choose between them. Also, before picking any language is important to know about the required knowledge for that language in order to understand…

A program usually executes line-by-line, meaning the function written first will execute first, and then the next function will execute. The problem arises when one function while executing blocks the execution of other functions. There may be some cases where…
NodeJS is an open-source, cross-platform runtime environment that uses JavaScript for creating fast, data-intensive, and secure server-side applications. These applications require some ways to store data in order to use them again. NodeJS supports all kinds of Databases, relational, and…

Whenever we create a Node.js application there is a need to use external packages for additional features that Node core libraries are not providing. These external packages can be installed using NPM. NPM stands for Node Package Manager. It is…