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...
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...
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...
I am building a website with a simple jquery/html/css front-end and a node.js server back-end. If my front-end has a function to request a user's information from the server like so:  function requestUser(email, password) {     xmlhttp = new XMLH...
I know this question seems like it would obviously be answered somewhere, but I can't find it despite searching even the api. My database looks like this:  {     "_id": {         "$oid": "1234567890"     },     "data&#...
I know this error is common when using local files, like C:// or files://, but the thing is, Im running my app on localhost, through http-server package.   mongoose.connect('mongodb://myuser:[email protected]:25608/todo-list-db')...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.