Skip to content

NodeJS hello world app for running a server on localhost and testing it out using mocha and istanbul

Notifications You must be signed in to change notification settings

rishabhsverma93/nodejshelloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Hello-World app

NodeJS hello world app for running a server on localhost and testing it out using mocha and istanbul.

Steps for testing:

  1. Install Node.js using the official website here. Check the version using the command:
node -v
  1. Install npm: It comes installed with Node.js. Check the version using the command:
npm -v
  1. Inside the local repository, run the command:
npm test

This would run the test command specified inside package.json file using mocha and istanbul. Mocha is a flexible javascript framework. Istanbul is a for ensuring complete code coverage. The command would generate test reports, which can be viewed, graphically, under coverage/lcov-report/index.html.

About

NodeJS hello world app for running a server on localhost and testing it out using mocha and istanbul

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published