/expressNodeServer

NodeJs Server with ExpressJs

Primary LanguageJavaScript

expressNodeServer

NodeJs Server - ExpressJs with HTML views

Steps to build it

git clone https://github.com/pGarciaAndres/expressNodeServer.git

cd node_server

npm install

To run with Express 4.0 Router (Port 3000)

The express.Router class can be used to create modular mountable route handlers. A Router instance is a complete middleware and routing system; for this reason it is often referred to as a “mini-app”.

nodemon index

To run with Express Get (Port 8080)

When var app = express() is called, an app object is returned. Think of this as the main app.

nodemon server