A web-based collaborative LaTeX editor
Find a file
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
services/docstore [misc] simplify mongodb collection access using a shared db construct 2020-09-17 15:39:44 +01:00