Introduction
What is Node Js
Node.js is a server-side platform built on Google Chrome's JavaScript Engine (V8 Engine). Node.js was developed by Ryan Dahl in 2009 and its latest version is v0.10.36.
Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on OS X, Microsoft Windows, and Linux.
The main idea of Node.js: use non-blocking, event-driven I/O to remain lightweight and efficient in the face of data-intensive real-time applications that run across distributed devices.
What is Special in Node Js
JavaScript’s rising popularity has brought with it a lot of changes, and the face of web development today is dramatically different. The things that we can do on the web nowadays with JavaScript running on the server, as well as in the browser. We can run Javascript code on server by using Node.
Start with Node Js
Node.js is a platform for building fast and scalable server applications using JavaScript. Node.js is the runtime and NPM is the Package Manager for Node.js modules.
Requirements
To start with Node.js at first you need to Download the NodeJs Installer. You can download it from their Official Website of Node.
The Second step is to download the VS Code to write the Javascript code of Node.
Write your Code
Let's get started by creating the simplest Node.js application and Print "Test Node By Gurujipoint"..
Goto start menu and Open Node.js Command Prompt.
Change the path by pressing cd.. on the command prompt, just like the cmd.
Now create a Folder where you will put your code file. In my case I created a folder named "MyNodeProject".
Now Open VS Code to write your JS code.
Create a New File and write a simple Print msg programe in it and saved it as App.js or whatever you want.
Note : - Here one thing to remember that Save your App.js file on the same folder which u already create by using mkdir command. In my case folder is "MyNodeProject".
Run your Node code -
Now again go back to Node.js command prompt. Locate to your file Location and type
node App.js. You can run your file by using node and your Js filename.
In this article we will learn about the Node.js. What is Node , Why node is important, why node is playing an important role in today's app developments. Programe using Node code.
What is Node Js
Node.js is a server-side platform built on Google Chrome's JavaScript Engine (V8 Engine). Node.js was developed by Ryan Dahl in 2009 and its latest version is v0.10.36.
Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on OS X, Microsoft Windows, and Linux.
The main idea of Node.js: use non-blocking, event-driven I/O to remain lightweight and efficient in the face of data-intensive real-time applications that run across distributed devices.
What is Special in Node Js
JavaScript’s rising popularity has brought with it a lot of changes, and the face of web development today is dramatically different. The things that we can do on the web nowadays with JavaScript running on the server, as well as in the browser. We can run Javascript code on server by using Node.
Start with Node Js
Node.js is a platform for building fast and scalable server applications using JavaScript. Node.js is the runtime and NPM is the Package Manager for Node.js modules.
Requirements
To start with Node.js at first you need to Download the NodeJs Installer. You can download it from their Official Website of Node.
The Second step is to download the VS Code to write the Javascript code of Node.
Write your Code
Let's get started by creating the simplest Node.js application and Print "Test Node By Gurujipoint"..
Goto start menu and Open Node.js Command Prompt.
Change the path by pressing cd.. on the command prompt, just like the cmd.
Now create a Folder where you will put your code file. In my case I created a folder named "MyNodeProject".
Now Open VS Code to write your JS code.
Create a New File and write a simple Print msg programe in it and saved it as App.js or whatever you want.
Note : - Here one thing to remember that Save your App.js file on the same folder which u already create by using mkdir command. In my case folder is "MyNodeProject".
Run your Node code -
Now again go back to Node.js command prompt. Locate to your file Location and type
node App.js. You can run your file by using node and your Js filename.
0 comments:
Post a Comment