node.js application illustrating various features used in everyday web development, with a fine touch of best practices. The demo app is a blog application where users (signing up using facebook) can create an article, delete an article and comment on an article.
$ curl http://npmjs.org/install.sh | sh $ git clone git://github.com/qed42/nodejs-express-mongoose-demo.git noobjs $ cd noobjs $ npm install $ node app.js
MVC architecture using express Custom error handling in express Routing in express CURD operations using mongoose orm and mongodb Use of stylus dbref and populatePopulate - DBRef-like behavior use of flash variables (displaying messaages like "updated successfully" etc) dynamic helpers (use of commonjs date formatting library).Thanks to commonjs-date-formatting
- user authentication
embedded documents in mongoose route middlewares
- using of middlewares in mongoose
If you are looking a specific feature, please use the issue tracker. I will try to come up with a demo as earliest as I can. Please feel free to fork and send updates :)