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

[GOR-50] Location End Point #19

Merged
merged 25 commits into from
Jul 14, 2020
Merged

[GOR-50] Location End Point #19

merged 25 commits into from
Jul 14, 2020

Conversation

kevo1ution
Copy link
Contributor

No description provided.

@kevo1ution kevo1ution added the WIP work in progress label Jul 9, 2020
@kevo1ution kevo1ution removed the WIP work in progress label Jul 10, 2020
@kevo1ution
Copy link
Contributor Author

kevo1ution commented Jul 10, 2020

@sarahannali I decided not to include the virtual values because the ".lean()" method saves a lot of time and memory (around 10x), and I think the benefits are really good. This means on the app we will need to get the vegan rating by dividing total and count

src/api/routes/location.js Outdated Show resolved Hide resolved
src/api/routes/location.js Show resolved Hide resolved
src/api/routes/location.js Show resolved Hide resolved
test/util/mongoose.js Show resolved Hide resolved
@sarahannali sarahannali merged commit 29c99c0 into develop Jul 14, 2020
@sarahannali sarahannali deleted the gor-50 branch July 14, 2020 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants