1 | [![Kalon.ro](http://kalon.ro/images/kalon-logo.svg)](http://kalon.ro) [![neo4j.com](http://neo4j.com/wp-content/themes/neo4jweb/assets/images/neo4j-logo-2015.png)](http://neo4j.com)
|
2 |
|
3 | NeoDB
|
4 |
|
5 | Starts a local Neo4J DB listening on `http://localhost:port`
|
6 |
|
7 | Version used is 2.3.1 , works on linux / osx only
|
8 |
|
9 | It always starts with an empty database , all data is lost when closing
|
10 |
|
11 | `npm install --save neodb`
|
12 |
|
13 | ```js
|
14 | "use strict"
|
15 |
|
16 | let NeoTestBD = require('neodb')
|
17 |
|
18 | let testDB = new NeoTestBD(6363)
|
19 | testDB.start()
|
20 | .then(function (data) {
|
21 | console.log('Started Neo4j Test DB', data)
|
22 | }).catch(function (e) {
|
23 | console.log('err', e)
|
24 | })
|
25 | ```
|