MongoDB is a NoSql database which is used to store a large volume of data. NoSql database not uses the tables and rows approach. In MongoDB the database is collection of documents, documents are collection of key-value pairs. Javascript developers…
Category: Node Js
Events in Node Js
Node Js is a asynchronous event-driven runtime. Node Js can perform tasks asynchronously, i.e. without waiting for a task to be executed, it can move further. Node Js has a built-in module named “events”. “events” module has EventEmitter() class. With…
React Js vs Angular Js
React Js : React Js is a Javascript library, used to create single page web applications. React uses JSX for writing its components. JSX stands for Javascript XML. In jsx we can write HTML and JS together. As React Js…
NPM in Node Js
NPM stands for Node Package Manager. It is used to install various libraries in our project. NPM is a default package manager for Node Js. It has basically two parts: A code repository, where all the code is hosted. A…
URL Module in Node Js
URL stands for Uniform Resource Locator, It is used to surf and access any website available on the internet. Every page available on the internet has a unique URL. It is the URL, which helps in identifying the web pages.…
HTTP Module in Node Js
HTTP is a module in Node Js. It is installed on our system along with the installation of Node Js. It is basically used to work with HTTP protocol. We can create servers with HTTP and can make the server…
Modules in Node Js
Modules in Node Js are collection of files containing various logic. Modules help to organize the code. The code can be used anywhere by using the modules, which results in the reusability of the code. Modules in Node Js are…
What is Node Js?
Node Js is a Javascript runtime environment, which is used to create servers. In simple words it is used to JS outside the web browser. It is built with the help of Google Chrome’s V8 engine. Node Js is used…
How to Install Node Js in Windows
Follow the below steps for installation node Js in Windows First Download the .msi file from below website and install by doing next and install. https://nodejs.org/en/download/ When Install please open your command prompt window Short wayWindow + rIts comes up…
What is Node Js
Node.js is a JavaScript-based platform built on Google Chrome’s JavaScript V8 Engine. Node.js allows us to run JavaScript on the server. Create a file name app.js and paste below code like below screenshot After this run below commandnode app screenshot…