Setting up a MongoDB connection in AngularJS project

68 Views Asked by At

I really don't want to have to install a full-blown MEAN project just for the one piece of data I want to store in MongoDB - is there a way for me to easily set up a MongoDB connection that I can use a service/factory with?

1

There are 1 best solutions below

0
On

Yes of course! Mongodb provide a suitable http rest interface.Please find this link: MongoDB Rest API Just you should run mongod by --rest parameter