Skip to main content

Questions tagged [mongoose]

Mongoose is a MongoDB object modeling tool, written in JavaScript, designed to work in an asynchronous environment.

1 vote
0 answers
29 views

I was facing an issue with changing models on the fly — since we don’t just need isolation based on string or ID, but also data-level differences for each HIMS instance. To handle this, I created a ...
Owais Qureshi's user avatar
4 votes
1 answer
964 views

I'm building a full stack exercise app and some of my objects include routines, exercises, exercise sets etc. Instead of writing out specific get, post, put and delete requests for each resource, I ...
gCoder's user avatar
  • 43
2 votes
1 answer
146 views

I recently interviewed for a backend developer role at a startup involved in financial products, as a 2020 grad. The take-home assignment they had me submit had a few basic goals and they recommended ...
Utkarsh Pant's user avatar
2 votes
0 answers
134 views

I'm in the process of creating my first web app using node with mongodb on the backend. I could use some opinions on the schemas/models I've set up. I have three schemas: User, Pet, Food. Here's the ...
pfinferno's user avatar
  • 447
2 votes
0 answers
134 views

I'm currently making an app for my side project and I was looking to get some insight on the main js file, what can I improve, the error handling, what am I doing wrong, etc. I'm mostly confused about ...
Anthony's user avatar
  • 21
3 votes
0 answers
102 views

In my example, I have four models: User, Company, Project, and Plant (though my project technically has more: Plant, Job, Team, etc.). ...
Nguyen Van Tuan's user avatar
3 votes
3 answers
413 views

I'm using Node/Express/Mongoose to accept a JSON file containing a list of product details. These products are looped through, the images are uploaded to AWS S3, and the product is either accepted or ...
DasBeasto's user avatar
  • 155
1 vote
1 answer
44 views

I have some code which saves a mongoose model from the submitted form data. However the user might also upload an image along with the form, which needs to be saved on the server (moved from the ...
Balázs Vincze's user avatar

15 30 50 per page