mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
8a8a830ad3
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. |
||
---|---|---|
.. | ||
.github | ||
app/js | ||
config | ||
test | ||
.dockerignore | ||
.eslintrc | ||
.gitignore | ||
.nvmrc | ||
.prettierrc | ||
app.js | ||
buildscript.txt | ||
docker-compose-config.yml | ||
docker-compose.ci.yml | ||
docker-compose.yml | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
nodemon.json | ||
package-lock.json | ||
package.json | ||
README.md |
overleaf/docstore
A CRUD API for storing and updating text documents in projects
Tests
AWS_BUCKET=**** AWS_ACCESS_KEY_ID=**** AWS_SECRET_ACCESS_KEY=**** make test
License
The code in this repository is released under the GNU AFFERO GENERAL PUBLIC LICENSE, version 3. A copy can be found in the LICENSE
file.
Copyright (c) Overleaf, 2014-2019.