/node-express-static-boilerplate

Boilerplate node.js example for serving static content use express 4

Primary LanguageJavaScript

node-express-static-boilerplate

Boilerplate node.js example for serving static content use express 4

Structure

All static content is in the public directory:

$ ls public/

html/
images/
scripts/
styles/

Getting Started

# clone project
$ git clone git@github.com:zldavis/node-express-static-boilerplate.git
$ cd node-express-static-boilerplate

# install dependencies
$ npm install

# start server
$ node index.js

Open http://localhost:3000