Difference between revisions of "WebFund 2013W: MongoDB"

From Soma-notes
Jump to navigation Jump to search
(Created page with "In this tutorial you will start playing with MongoDB. '''Note:''' MongoDB ''has its own JavaScript interpreter''. Thus, in a web application using Node and MongoDB you'll ha...")
 
Line 6: Line 6:


First, for a gentle introduction, try this [http://try.mongodb.org/ interactive MongoDB tutorial].  It is very simple but will get you familiar with the basics.
First, for a gentle introduction, try this [http://try.mongodb.org/ interactive MongoDB tutorial].  It is very simple but will get you familiar with the basics.


===Get MongoDB running===
===Get MongoDB running===

Revision as of 12:00, 1 March 2013

In this tutorial you will start playing with MongoDB.

Note: MongoDB has its own JavaScript interpreter. Thus, in a web application using Node and MongoDB you'll have three JavaScript interpreters: the one in the browser, the one in Node, and the one in MongoDB. Same language, but access to different resources/objects in each.

Interactive Tutorial

First, for a gentle introduction, try this interactive MongoDB tutorial. It is very simple but will get you familiar with the basics.

Get MongoDB running

To get MongoDB running in Ubuntu, just run apt-get install mongodb.

On Windows, follow the instruction [1]. (Note: you can't get it to run as a service in the lab.]

For every other operating system, refer to the MongoDB Getting Started guides.

More MongoDB tutorials

Do the regular getting started tutorial in your now up-and-running MongoDB installation.

To keep going, try out other tutorials! But, these are probably more than you need until you have your basic application working.

Node and MongoDB