Based on SAMS 24 Hour book for node.js.