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.
Asked
Active
Viewed 805 times
1 Answers
5
- 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.

rmuller
- 12,062
- 4
- 64
- 92
-
Thanks Mr. rmuller ! for reply. Because i am new in this development stack. can you elaborate more your answer. or provide some guideline for this task. – Dd5d5dyoudodoydooAhsan Mustafa Jan 20 '15 at 06:19
-
See my updated answer. If this answer is ok for you, you should "accept" it. This is how SO works. – rmuller Jan 20 '15 at 11:45