Skip to content

jjgonecrypto/nodejs-express-mongoose-demo

 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%