How to connect a webpage to MongoLab

How to connect a webpage to MongoLab
0.0 0


Hy everyone!:slight_smile:

I want to create a site what can set and get information from a MongoLab database. It’s currently hosted in Google App Engine and I have no idea how to connect them. I am now started learning NodeJS, and I hope I will find the answer, but can anyone help me a little out with the basics of connecting MongoLab and Google App Engine? (I have tried tutorials and google but I want someone to explain for exaple this since It doesn’t worked)



MongoLab databases use MongoDB, the most common way to connect a NodeJS app to a MongoDB database is with Mongoose:

I have found their documentation to be straightforward, but the Quick Start guide is a good place to start: