MongoDB

Total 4 Posts

MongoDB cheatsheet

I can never seem to remember all the commands I need to build a simple Express API app using Mongo. If anyone is reading this, please share how I can make this post more useful. BASICS Show Databases List all of the available databases. show dbs Clear the console cls

Import JSON data to MongoDB on OpenShift

Deprecated Openshift v2.0 has now reached End of Life and will be replaced by v3.0. You will need a few things to get this project started. First you will need a JSON file, an account with Openshift as well as MongoDB and MongoRock. Prepare Make sure your JSON

Creating an ExpressJS app with MongoDB on Openshift

Deprecated Openshift v2.0 has now reached End of Life and will be replaced by v3.0. Here's how to create a NodeJS app with MongoDB on Openshift using Command-Line. Step 1 OpenShift the command line to create the Node.JS app. rhc app create my_app nodejs-0.6 Step