Search This Blog


NODE JS and MEAN Stack

What is Mean :
MEAN is an opinionated fullstack javascript framework - which simplifies and accelerates web application development.Mean Stands for MongoDB,Express,NojeJS and AngularJS.

What is MongoDB :
MongoDB is the leading NoSQL database, empowering businesses to be more agile and scalable.

What is Express :
Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.

What is Node JS :
Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications.It is an application development platform that allows us to create standalone applications developed using JavaScript.

What is AngularJS :
AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.

Install NodeJS in windows:
Go to the and Click 'Download for Windows'. Once download completed, install it.

In odder to check the installation, Open the command prompt and type node -v , it will show you the current version of node js installed at your PC.

C:\>node -v

In order to start the Read-Eval-Print-Loop or REPL for short, I am going to just type the node command and I'm not going to use any of the flags. And you can see now my cursor has changed here to the > sign, and now I am actually in the REPL. And at this point, I'm just basically free to start entering lines of JavaScript that are going to be evaluated right away.

I can say something like console.log("Hello World") and press Enter.

Also , the multiline REPL command executed be as below in while loop

When you have done, press Ctrl+c twice or type process.exit(1) , in oder to exit the REPL.

  • Read - Reads user's input, parse the input into JavaScript data-structure and stores in memory.
  • Eval - Takes and evaluates the data structure
  • Print - Prints the result
  • Loop - Loops the above command until user press ctrl-c twice

  • No comments: