I'm trying to connect the Mongo shell with Mongolab. I am using my mongolab username and password but it is giving an error: "Failed to connect to 54.81.180.188:56789."  My userName and password is correct.  I'm using Windows 8.1  Whe...
Essentially I am having one of those moments. My app's on Heroku, and the DB it uses is mLab (MongoDB).    It works on local (Cloud9), but not on production (Heroku). I can't get .populate() to work on production.    Do you see any gaps in my...
Is MongoDB capable of funding number of random documents without making multiple queries?  e.g. I implemented on the JS side after loading all the document in the collection, which is wasteful - hence just wanted to check if this can be done better w...
Ive been playing around with mongodb in node.js. I have made a basic collection with some data (i know its there ive checked). When I try to run a find() on the collection it returns undefined. I dont know why this is. The code is below:  function ge...
Application Error in Heroku , with status H10 , desc = "app crashed" , No error in logs , Application running Locally but after deploying and building successfully , App is Crashing.  Methods I had tried to run it :-   including procfile  inc...
I use mongoose and react to fetch data from a mlab database. The probleme is that the mlab database have a size of 200 MB, it's a collection of more than 400 000 objects. So when i fetch i have JS error (out of memory) or the request is pending d...
My application is a nodejs web applicaiton using express. It serves as a portfolio website with a cms and api.  In my login route I have the following code:  passport.authenticate('local', function(err, user, info){     if(err){         retur...
I am working on an angular application with a node.js backend where my architecture goes like this:  front-end => angular.service => node backend => mLab DB  Currently, I'm trying to push an object into the DB provided that it does not e...
So I have set up a query builder that builds a query based on the users interaction with the data filtration area on the front end which contains a lot of radio buttons and dropdown boxes etc. Similar to what eBays data filtration function provided o...
So I'm writing a quick little app for internal use at my company with AngularJS and I'm basically basing my project off the "Project" on the AngularJS website: http://angularjs.org/#project-js  I've gotten my views/models/controll...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.