delorenj / elleol-nodejs

A simple demo app in node.js using express, mongoose, mongodb, stylus and jade for beignners

Home Page:http://nodejs-express-demo.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog post: Breaking down app.js file - nodejs, express, mongoose

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.

Install Steps

    $ 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

Changelog

Todo demos

  • MVC architecture using express
  • Custom error handling in express
  • Routing in express
  • CURD operations using mongoose orm and mongodb
  • Use of stylus
  • dbref and populate Populate - 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
  • pagination
  • validations
  • map-reduce
  • 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 :)

About

A simple demo app in node.js using express, mongoose, mongodb, stylus and jade for beignners

http://nodejs-express-demo.herokuapp.com/


Languages

Language:JavaScript 100.0%