All Questions
Tagged with mongodb design-patterns
4 questions
0
votes
0
answers
43
views
Query for each doucment or include IDs in document itself and query for all documents with ID?
I am working on a project where there will be different kinds of accounts that use Auth0 for auth and authz. I want to have it so that an account will query my backend to get back documents that ...
1
vote
0
answers
39
views
avoid passing dbsession object to multiple modules
I have a project which has a service-oriented architecture. for example, anything relates to payment is inside payment module.
-dao
-config
-constatnts
-middlewares
-modules
-payment
-user
-...
0
votes
0
answers
382
views
Is this MEAN stack design-pattern suitable at the 1,000-10,000 user scale?
Let's say that when a user logs into a webapp, he sees a list of information.
Let's say that list of information is served by one of two dynos (via heroku), but that the list of information ...
1
vote
2
answers
1k
views
Very-Loose Coupling and Dependency Injection for Database Management
I'm currently setting up a MongoDB database for a web-app. I'm running node.js and using Mongoose to help manage mapping, validation ect.
I'm wondering if it's a good idea to really decouple MongoDB ...