Logging is an essential part of application. According to Twelve-Factor App methodology it’s the XI factor of application development. A proper logging gives you a valuable insite of your application. In Node.js application, it is always suggested to use logging libraryrather than just using console.log in productione environment. Log4js, Bunyan , and Winston are the …
Nodejs
Inherit attributes and methods of Sails.js Models

Yeah, now I am working on an interesting Node.js project where I am using Neo4j as Graph database with Sails framework. Neo4j is very new in the market, thus there is very little good DB libraries and adapters available for Sails framework. So, I decide to write some custom model methods (using an active record …