overleaf/services/docstore/app/js
Jakob Ackermann 8a8a830ad3 [misc] simplify mongodb collection access using a shared db construct
Resolve the getCollection Promises once and store the result in a shared
 `db` object which can get imported by all the call-sites.

The http server is starting only after a Promise of `waitForDb()`
 resolves. This covers the app code and the acceptance tests.
2020-09-17 15:39:44 +01:00
..
DocArchiveManager.js
DocManager.js
Errors.js
HealthChecker.js [misc] simplify mongodb collection access using a shared db construct 2020-09-17 15:39:44 +01:00
HttpController.js
mongodb.js [misc] simplify mongodb collection access using a shared db construct 2020-09-17 15:39:44 +01:00
MongoManager.js [misc] simplify mongodb collection access using a shared db construct 2020-09-17 15:39:44 +01:00
PersistorManager.js
RangeManager.js