This git repository includes mongodb connection and query examples for the following:
-
Node.js (Mongoose) http://mongoosejs.com/
-
Python (using pymongo) http://docs.mongodb.org/ecosystem/drivers/python/
-
Ruby (Mongoid) https://docs.mongodb.com/ruby-driver/master/mongoid/
These examples should run outright after you install the appropriate drivers and insert your MongoDB URI. See https://docs.mongodb.com/manual/installation/ for guidance.
We hope these are helpful and appreciate your feedback!
Sincerely,
The mLab Team