This is the repo to this article. To try out the example, run node server.js in one terminal session and run node promise-all.js or node promise-chain.js on another.