Grunt watch those templates

Setting up automatic EJS (Underscore/Lo-Dash) and Handlebars template compilation in Grunt using grunt-contrib-watch. The aim is to be able to spawn a process which will watch our templates and compil
Continue reading

To mock a Mongoose

Use Mongoose in a test without having to have MongoDB running. Mocking done with Mockgoose. Setting upSetting up can take a while sometimes so I decided to give a different approach a go this time rou
Continue reading

Taking the Express route out

Example of how to separate route code in Express.js using npm link. Setting upWe can use the express generator to get up and running quickly with Express. Install it with npm install express-generator
Continue reading

Justin Calleja