How should a client / server DBMS be embedded in an application?
Perhaps this is a stupid question, since I am learning and my experience with databases is limited to using embedded SQLite in Java and Electron JS. I want to write a GUI application that will build, allow the user to edit through its interface, and store graph databases locally. Actually, I did not plan to write a graph database, but to take an existing one and add a graphical shell to it. My project is Angular + Electron JS.
Installed Orientjs and followed the example from the README verbatim. But when connecting to localhost: 2424 persistent refusal (my attempts at https: //github.com/orientechnologies/orientjs/issu ... ). I decided that my mistake was that the driver (unlike sqlite3 from npm) does not include the DBMS itself. I downloaded OrientDB for Windows from the office. site, launched the server, then its application. The example now works.
My question is:
1. How can I include OrientDB itself in my application, so as not to ask the user "first download and install OrientDB, then this program"? Can I just put a copy of the orientdb-3.1.4 folder in the assets folder of my application, and how does the OrientDB license look at it?
2. Maybe you can enable the DBMS itself via npm? What is called orientdb on npmjs.com is signed as "A node.js driver for OrientDB", that is, it is also a driver, like orientjs, I doubt the second driver will help me.
3. If the answer to all the questions above is no, does the license allow it to be included in the installer of my program?
To place the code, please use CodePen or similar tool. Thanks you!