The world of Web development is segregated as Front-End and the Back-End. Server-side scripting, a technique used in web development that employs scripts on a web server producing a response customized for each user’s (client’s) request to the website. There are a number of server-side scripting languages available – ASP.NET, Java, Python, Perl, PHP, NodeJS, etc. In fact, Node is one of the most popular server side scripting languages in recent times with large scale companies implementing it.
The environment required to run Node,
Once the installation is complete, type the below command on the command prompt.
This command gives the current version of NodeJs installed on the machine.
The first program written on all programming platform begins with the ‘Hello, World!‘, and we follow the same.
To execute the code,
Click on the browser, type http://localhost:5000/ and hit enter.
NPM – Node Package Manager
- Online repositories for node.js packages/modules on search.nodejs.org
- Command line utility to install Node.js packages.
After the V0.6.3, the npm comes bundled in with NodeJs installable files.
To verify the version of NPM, type,
To install an NPM module, type,
Backend developer, Works on C#, SQL server lives in Manipal, Karnataka, India.