Building an async / await Promise Based MongoDB Query Library
And importing them into your Express routes
5 min readAug 6, 2018
In this article we will discuss how to seamlessly build out an asynchronous MongoDB query library for your app routes to utilise. This is a continuation from my article on using Promises, async and await with MongoDB, where I explained how to create asynchronous MongoDB queries using…