Skip to content
Structure for your node.js project
JavaScript Shell
Pull request Compare This branch is 13 commits ahead, 160 commits behind hunterloftis:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
deploy
lib
.gitignore
.monitor
README.md
nodemon-ignore
package.json
server.js
setup.sh
test.js

README.md

node-boilerplate

Structure for your node.js project.

Requirements

  • node v0.4.x
  • npm v0.3.x

Installation

mkdir mynewproject && cd mynewproject
git clone git://github.com/appendto/node-boilerplate.git .
git checkout -b mynewproject
./setup.sh
sudo node server.js

Adding libraries

Add to 'dependencies' in /package.json, then:

sudo npm bundle

Included modules:

  • Express
  • Jade
  • Stylus
  • Connect-Timeout
  • Cluster
  • Express-Messages
Something went wrong with that request. Please try again.