What are Routes ?

Routes describes the interfaces for making requests to your web app. Combining an HTTP

request method and a path, you define URLs in your app.

Each route has an associated route handler, which does the job of performing any

action in the app and sending the HTTP response.

Routing Mechanism

Routes are defined using an HTTP verb and a path pattern. Any request to the server

that matches a route definition is routed to the associated route handler.

Route handlers are middleware functions, which can send the HTTP response or

pass on the request to the next middleware in line. They may be defined in the app

file or loaded via a Node module.

For More Information : Express Web Application Development

Issues Related to Express Router : Express3.0

 var a = 1444;
About

My Name is Dileep Singh, Noder, Javascript Lover & NoSql Developer, Fitness Freak, Love to travel new places, learning photography & Music Manic ♯ ♩ ♬

Posted in Node.Js Tagged with: