Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoService should provide a blank database when NODE_ENV = development #4

Open
just-chillin opened this issue Feb 27, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@just-chillin
Copy link
Owner

This way, we can spin up a blank database for every unit test that is running and can always develop in a fresh database.

This can be done by storing a uuid that is unique across every launch of the api, and then creating a view that only includes documents with that uuid

@just-chillin just-chillin added the enhancement New feature or request label Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants