How can I use orientDB in MEAN stack How can I use orientDB in MEAN stack mongoose mongoose

How can I use orientDB in MEAN stack


  • MongoDB -> OrientDB Document Graph database server (I suppose you want to use the Document-Graph engine of OrientDB) with orientjs. So you do not customize mongoose, you must replace that driver by orientjs (the official Node driver for OrientDB).
  • Express -> Express
  • AngularJS -> AngularJs
  • Node.js -> Node.js

To get started (assuming you have experience with the EAN-part), first read the OrienDB Manuel and start "playing" with OrientDB, using the web based interface, called OrientDB Studio. A excellent introduction on Graph Databases is Graph Databases The Definitive Book on Graph Databases which can be downloaded for free. After that it should be easy to integrate it with Node.js using orientjs. To get started with AngularJS i highly recommend the Udemy courses "Javascript: Understanding the Weird Parts" and "Learn and Understand AngularJS".

UPDATE: oriento driver is deprecated, the official JavaScript client is now orientjs. This driver is maintained by Orient Technologies itself.