Using Promises, async / await with MongoDB
How to handle API requests with a chain of MongoDB queries
5 min readJul 9, 2018
You are writing a backend service for your web app and you need to fetch data from your mongo cluster. The problem is, you do not want your request to be returned in a synchronous manner — instead I want mongo queries to be carried out, get the returned result, handle it and return the JSON to…