A simple demo app in node.js using express, mongoose, mongodb, stylus and jade for beignners
JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 587 commits behind madhums:master.
Permalink
Failed to load latest commit information.
lib add commonjs date formatting library Sep 1, 2011
models comments functionality with dbref and populate demonstration Nov 13, 2011
public adding fork me link Aug 29, 2011
routes comments functionality with dbref and populate demonstration Nov 13, 2011
stylus/stylesheets credits Sep 13, 2011
test first commit, demoing CUR Mar 5, 2011
views Fixing jade bug for node 0.6+ Jan 6, 2012
.gitignore ignore config file Aug 31, 2011
Procfile
README.md terminal bell Nov 14, 2011
app.js appname as dynamic helper Sep 1, 2011
config.example.json config example file Aug 31, 2011
package.json use express-message module Sep 1, 2011
settings.js appname as dynamic helper Sep 1, 2011

README.md

node.js application illustrating various features used in everyday web development, with a fine touch of best practices.

Install Steps

    $ curl http://npmjs.org/install.sh | sh
    $ git clone git://github.com/qed42/nodejs-express-mongoose-demo.git noobjs
    $ cd noobjs
    $ cp config.example.json config.json
    $ 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
  • 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 :)

Contributors

M Fazle Taher - D of CURD