Understanding routing of expressJS in Node.JS

For further advanced reading you may want to prefer REST API using express . I have started learning Node.JS and for web apps most popular ExpressJS framework. Well few call it big library as well. As learner does not matter whether big library or framework, let’s start exploring. While exploring express realised that one of … Continue reading Understanding routing of expressJS in Node.JS

Setup Express and run first application in Node.js

In this post we will take a step by step look in setting up Express and creating first application. I assume that you have already installed Node. If not then go ahead and install from here Once node.js is successfully installed, you can install Express framework by running npm install express on command prompt. After … Continue reading Setup Express and run first application in Node.js

Create a Router in Node.js using crossroads

Routers are very important in any web server. Primary function of a Router is to accept request and on basis of requested URL trigger desired process. Consider a rough example in that client is requesting http://abc.com/users/myprofile and there request may serve from URL http://abc.com/node/2 assuming user is stored in node with id 2. In Node.js … Continue reading Create a Router in Node.js using crossroads

Getting started with Node.js development in Visual Studio

Setup Environment on Windows machine for Node.js Development [Set up Sublime Text] Yes you love node.js. You love event driven development and yes multi thread is old fashioned now. Your new found love is ASYNCHRONOUS. Asynchronous everything, even reading file system. As all we know Microsoft loves Developers. So in Build they decided to give … Continue reading Getting started with Node.js development in Visual Studio