@krgupta/hello-world-node-js

1.0.0 • Public • Published

This is a very basic example of Hello World in Node.js

Installation

*for newbies : Clone or download zip to your machine then hit this :

npm install

Steps for generating the package for node Js

  1. Create the Folder

mkdir foldername

  1. initialize the package using npm

npm init

  1. Provide the details like 'package name, version and description etc'

  2. package.json will created in folder

Install the express framework

npm install express --save

Create the index.js file

Start the node for running

node index.js

Now hit the below url to print the hello world

http://localhost:3000/

Package Sidebar

Install

npm i @krgupta/hello-world-node-js

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.64 kB

Total Files

3

Last publish

Collaborators

  • krgupta