Node Boilerplate
http://www.nodeboilerplate.com/
Node Boilerplate (NBP) is a template node application that sets up some basic
configuration so that you don't have to. The idea is the same as
HTML5 Boilerplate but for node applications.
Installation
Install module:
npm install -g nodeboilerplate
Create boilerplate:
mkdir mysite
nodeboilerplate mysite
Documentation
Annotated Source
Configuration
NBP builds on top of an express generated application, providing better folder
structure and separated configuration logic. NBP is configured to use the following:
Express
Sinatra inspired web development framework.
http://expressjs.com/
jQuery Templates
Port of jQuery's Template Engine for node.
https://github.com/kof/node-jqtpl
LESS
Dynamic stylesheet language.
http://lesscss.org/
Optimist
Command line option parsing.
https://github.com/substack/node-optimist
TODO
- Add reset stylesheet
- Less compilation / Error handling
- Preboot