简体   繁体   中英

How can I use orientDB in MEAN stack

I am working on mean stack. and i want to use orientdb instead of mongodb. I just want to know how can I replace mongodb with orientDB. OR How can I customize mongoose so that i can use orientDB. Thanks in advance.

  • 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM