Hacksparrow has a good tutorial for getting started with the Express framework. But for brevity, I will explain the basic instructions for getting started.
First you need to install express.js as a global module
npm install express -g
You then need to create a directory and create an Express app inside it.
md <dir name>
cd <dir name>
express --sessions --css
npm install
That will give you the most basic application template with session support and normal CSS. You can use stylus CSS format with the command "-css stylus" and less with "-css less".
Friday, 1 February 2013
Subscribe to:
Posts (Atom)