How to Resolve Promises Sequentially in JavaScript
jamdesk.com