Skip to content

govardhanaraoganji/NodeJS-with-JADE-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

#Here am going to explain NodeJS with JADE viewer application configuration, deployment & testing API[s]

npm & NodeJS installation guide.

If you found the old node package installed, run this command to completely remove it

sudo apt-get remove --purge node

Install Node.js with Ubuntu Package Manager

To install Node.js, open a terminal and type the following command:

sudo apt-get install nodejs

Then install the node package manager, npm:

sudo apt-get install npm

Now we should have both the node and npm commands working

node -v v0.10.25 npm -v 1.3.10

We can install node module[s] in two ways.

  1. Permanent Way

npm install body-parser -- save

  1. Temporary Way

npm install body-parser

To deploy your application

  1. If application not exists. Download the application.
  2. Go to the folder where app.js exists through terminal, start the npm server by uising below command.

npm start

Testing your application by using HTTP-Client like Chrome / Mozila / IE.

Here is the some URL[s],

  1. Home Page GET http://127.0.0.1:3000/

About

Simple NodeJS application with JADE viewer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published