NoSQL Zone is brought to you in partnership with:

Alec is a Content Curator at DZone and lives in Raleigh, North Carolina. He is interested in Java and Android programming, and databases of all types. When he's not writing for the NoSQL and IoT Zones, you might find him playing bass guitar, writing short stories where nothing happens, or making stuff in Java. Alec is a DZone Zone Leader and has posted 576 posts at DZone. You can read more from them at their website. View Full User Profile

MongoDB and Node.js Tutorial: How to Connect Them on a VPS

11.11.2013
| 7070 views |
  • submit to reddit

MongoDB users interested in working with Node.js (or Node.js users looking at MongoDB) may find this tutorial from the blog at DigitalOcean to be particularly useful. It covers all the steps to connect Node.js to a MongoDB database on a VPS, and provides all the resources one might need to quickly catch up on either one. 

The tutorial doesn't take it far beyond the basic set-up, but it will leave you with a Node.js application connected to a MongoDB database, which is enough to start exploring. Also, the instructions are detailed and code-supported such that it would be hard to get lost. Assuming you have some expertise in either Node.js or MongoDB, the tutorial looks like a good place to start for integrating the two.