Posts

Showing posts from February, 2014

Express.JS quick-start guide on Windows

Image
  Express.JS is a fairly new but increasingly popular Node framework for building web application. Being a Node based application means you spin up a web application in just few steps. In this guide, I’m going to show a quick-start on just how to do this on Windows. Install node.js. See this tutorial if you don’t already have node.js on your Windows. I’m using node v0.10.25, and express 3.4.8 on this guide. Create a directory for your new Express.JS app, run Command Prompt and cd into the directory. e.g. c:\users\<user name>\projects\fooApp Install express.js via npm ‘Node Package Manager’ that comes together with node. In the Command Prompt, execute: npm install –g express Watch and wait for npm to complete fetching the required dependencies for express.js. It’s going to take a while. Once installation completed, you will be presented with a summary of what packages has been downloaded and it’s respective version. Verify the Express.JS is installed and check it’s

Installing and upgrading node.js on Windows

Image
Steps for installation: Go to http://nodejs.org/ and download the latest version of node.   I'll proceed with the Windows Installer (.msi) version. You can also go to http://nodejs.org/download/ to download installer for other platform. Run the node-XXXXXXXXXX.msi installer, and proceed to installation like a normal Windows application (basically just Next... , Agree, Next … Finish). I'd strongly suggest that you accepts all the default configurations and selections during the setup. Once installation completed, start a command prompt and type " node --version " and verify that it shows the version of node. Steps for upgrade: I personally don't use any special tools to switch between version of nodes,   I prefer install if using the same Windows Installer. (If you uses all the default settings during setup, upgrading is simple repeating the installation steps to over