Aditya Gupta

Aditya Gupta

Controllers in NodeJS

Controllers In NodeJS Thumbnail

A controller is a function that defines the response sent to a client when making a request to the server.  This tutorial teaches you the concept of controllers in NodeJS. We highly recommend you read the previous tutorial Separating Routers…

Separating Routers in NodeJS

Routers In NodeJS Thumbnail

A website has multiple pages which can be accessed using endpoints, a endpoint has two parts the URI and the HTTP request method such as get, post, etc. For example, for opening a website home page clients have to make…

Run a batch file in NodeJS

Executing Batch Files Thumbnail

NodeJS is an open-source, cross-platform runtime environment used for multiple tasks, it can interact with files, implement all types of databases, perform various operations, etc. NodeJS can also run the bash files asynchronously without blocking the other block of code.…

Random Password Generator in NodeJS

Random Password Generator In NodeJS

A Random Password Generator is an application used to generate random passwords that help to pick a strong password for authentication to enhance security and decrease the chance of hacking. Creating a Random Password Generator in NodeJS This tutorial provides…

NodeJS MongoDB Remove

NodeJS MongoDB Remove Thumbnail

MongoDB database is used to store a large number of records, these records are called documents. These documents take some space in the memory, and to free up the space occupied by irrelevant documents they can be directly removed. Document…

NodeJS MongoDB Sorting

NodeJS MongoDB Sorting Thumbnail

MongoDB database has one or many collections in which records are present. These records are called documents in MongoDB. Overview of MongoDB Sorting Sorting is a technique to rearrange documents. This rearrangement can be ascending or descending according to the…

NodeJS MongoDB Insert

MongoDB Insert Record Thumbnail

MongoDB is a NoSQL database that can store a large amount of unstructured data. Data stored in MongoDB are easy to retrieve as it can hold them in flexible formats depending upon the need such as graphs, key values, documents,…

NodeJS MySQL Drop Table

NodeJS MySQL Drop Table Thumbnail

MySQL stores data in the form of one or many tables and sometimes these tables become useless but take up some space, to free up the space and get rid of these tables, we can delete them by simply dropping…

NodeJS MySQL Select Record

NodeJS MySQL Select Record Thumbnail

MySQL is a relational database management system that stores data in one or more tables of rows and columns and uses structured query languages to perform different operations on them. MySQL can be used in NodeJS to store large amounts…