MongoDB and Mongolab.com - mongodb

Recently I discovered the power of noSQL database MongoDB. After a lot of trial and error I was able to install it on my pc along with wampserver. Its running smoothly. Now the question I would like to ask is, that if I want to integrate the MongoDB service provided by Mongolab on my shared hosting plan, is there any class available that helps me connect to the database? Like a php class version of the driver for php and mongodb. As it is not possible to install the driver on my hosting, because of no root access. So is there a raw class available as an alternative to the driver dll?

If you can't install the driver, then the REST interface provided by MongoLab is your best bet - any language that can send/receive a HTTP request can use REST:
http://support.mongolab.com/entries/20433053-rest-api-for-mongodb

Related

MongoDB community edition for SAAS based application

We are going to develop a SAAS based application using NoSQL (Preferably MongoDB community edition). When we download the community edition we observed that the MongoDB license got changed to SSPL. And it highlighted that we cannot modify the server code and cannot run MongoDB as a service.
Hence I just wanted to confirm here that, we don't do any change in the server code, we do only store data in MongoDB and host them in a cloud environment and make our web application as a service to the customers (SAAS). So it wont violate anything in the SSPL right.

Where can i host my webapp which use mongodb as a backend server

I have created a project with MERN stack and want to host it. But as i came to know that netlify.app hosting site doesnt support hosting for database related projects as my project includes mongodb as a backend.
It will be a great help if anyone can suggest where should i host my project which can support mongodb as a backend also. And also any methods to do it that will be great help.
You can use AWS EC2 Linux instance, where you can keep your project and at the same time you can store your data. For the initial phase of your project, you can install MongoDB on the same machine.

Is there a way to host an app that uses MongoDB Atlas on Heroku without paying for an addon?

I am in the process of teaching myself deployment to Heroku, and trying to host a simple MERN stack application to Heroku. So far, every tutorial I've worked on (at least four so far) has told me to use the addon mLab, which is 1) being depricated and 2) currently requires payment.
I've also now tried to use object Rocket which also requires a monthly payment. Is it possible to connect my Heroku app to MongoDB without payment? Perhaps without an add-on? I'm looking to turn around and teach others how to deploy their applications to Heroku, but if there is payment involved, that would be a real issue.
Edit: just to clarify, I am aware that MongoDB atlas is free, but what I'm not aware of, is way to connect Atlas to my Heroku app in a way that is free.
Use the Atlas free tier. No addons are needed.
To connect to your MongoDB Atlas db is best achieved using Mongoose - a node module - at least that is what I am doing with my recently created React/Atlas application. Mongoose is available for Angular as well and makes working with Atlas very easy. A google search will provide many tutorials, I'm sure.

How do I set-up Rest API to the Mongodb installation on my Mac Pro

I'm developing a Google Apps Script application and I want to have a MongoDB backend to the application. Currently I am using a Mongolab sandbox account and successfully interacting with the collection on the Mongolabs servers. The performance is very good and the support at Mongolabs has been excellent.
That said, long-term I've decided to host my own Mongodb on my Mac Pro that is currently running Yosemite. I already have Mongodb installed and its working fine.
My Question: How do I use (install/configure/establish) a Rest API (or other means) to connect with my locally installed Mongodb database. I have spent a couple hours on 10gen's site and on Google trying to figure it out, but I have not quite gotten there. Does anyone have experience doing this or something similar that might be able to share your experience or at least refer me to a good resource.
Thanks in advance for you help.

running mongoDB in a web hosting

Is there any way to run the mongoDB in goddady or any other hosting websites except for mongoHQ and so on?
and if I use mongoHQ , is that safe for the data and fast ?
I'm right now using it in the localhost server as a windows service .
If you want to run software like MongoDB in a web environment, you'll need a Virtual Private Server (VPS). This is like having an entire machine that you can install anything on and do anything with. The downside is that you have to install and configure all the software on it, including backups and disaster recovery, which a shared host will usually do for you instead. The upside is that you have more system resources, so you can do more, and you can install any software you want, so you have more flexibility. My personal recommendation is Linode or Amazon EC2.
Shared hosting services generally don't allow you to install your own services, so you'll have to use what they provide for you. Most provide an RDBMS, like MySQL, but there aren't many providing MongoDB for you.
Just to chime in because I was wondering the same thing and came across this when I searched skynet, mLab. They have standard pricing for hosting a mongoDB setup and deployment as well as a free version for dev work.