18.05.2016 Views

Mittwoch, 18. Mai, 2016

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

How to get started on the MEAN stack 10<br />

1 db.todos.insert({title: "Write a blog post"})<br />

To retrieve the todos object, execute:<br />

1 db.todos.find()<br />

which will output:<br />

1 { _id : ObjectId("543262a625cc94a488de8466"), title: "Write a blog post" }<br />

Now we have the MongoDB service working and we’ll explore more options in the second post<br />

when we’ll save the todos to our MongoDB database. If you wish to try out more features and<br />

get a short crash course on using MongoDB shell, you can do so on the official MongoDB page:<br />

http://try.mongodb.org/³⁹ where they offer a free interactive tutorial.<br />

Installing Node.js<br />

In order to download Node.js, visit http://nodejs.org/download/⁴⁰, where you’ll see the following<br />

options:<br />

³⁹http://try.mongodb.org/<br />

⁴⁰http://nodejs.org/download/

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!