Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
Code Review

Questions tagged [mongoose]

Ask Question

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

49 questions
Filter by
Sorted by
Tagged with
1vote
0answers
29views

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
0votes
0answers
8views

Title: Code Review Request: Mongoose Soft Delete Plugin with Query & Aggregate MiddlewareBody:I’ve implemented a soft delete plugin for Mongoose to handle REST API data safely in a MENN stack ...
4votes
1answer
964views

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
1vote
1answer
177views

I'm practicing back-end programming and NodeJS. As an exercise, I'm attempting to build a REST API for a MongoDB collection. I'm also learning to use the Express and Mongoose middle-wares, so that's ...
2votes
1answer
148views

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 ...
4votes
1answer
5kviews

After some time poorly designing my web applications' backends (mixing database calls with the controller, etc.), I have decided to try the "Clean Architecture" approach.In this example I have a ...
2votes
0answers
134views

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
1vote
1answer
60views

In an api I'm building, I have multiple routes that require an agency to exist before any action is performed on the requested agency. To avoid repetition I've written some middleware to check that ...
2votes
0answers
134views

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 ...
4votes
0answers
428views

I have a series of Events (roughly 10-20 events that will be dynamically created per month): Event Model:...
3votes
0answers
102views

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
8votes
5answers
671views

I have a function that checks user level and limits the data before saving it to mongoDB database (pre 'save' middleware for mongoose).It have been getting complexity warnings and tried to rewrite it,...
3votes
3answers
414views

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 ...
0votes
1answer
81views

Something I've found myself having to do reasonably often is map properties from an Object (usually a heavily nested MongoDB document) to a different 'shape' to then pass it to a function call or API ...
1vote
1answer
45views

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 ...

153050per page
1
234

Hot Network Questions

more hot questions
Newest mongoose questions feed

[8]ページ先頭

©2009-2025 Movatter.jp