/node-plates

a node.js boilerplate using express, socket.io, mongooose, jquery.mobile & html 5 mobile/web application.

Primary LanguageJavaScript

node-plates

a node.js boilerplate using express, socket.io, mongooose, jquery.mobile & html 5 mobile/web application.

NPM

Installation

$ npm install node-plates

Usage

$ node server.js
$ node server.js -m  use jquery mobile
$ node server.js -w, use website html 5 boilerplate
$ node server.js -c, use client side templating
$ node server.js -s, use server side templating
$ node server.js -a, display article content
$ node server.js -x, use external storage for sessions/registrations/articles using mongoDb

Dependencies

Requires mongoDb via mongoose in order to use the scale option -x

Run mongodb before starting node-plates using the following; where some_data_path is your path to a mongoDb instance data folder. Will throw an 'error connecting to database' if not running..

$ mongod --dbpath some_data_path

More information provided in the below series of posts

http://airasoul.blogspot.co.uk/search/label/node.plates

Current setup includes