Neo4jJs (v2)
A Neo4j graph database editor. Explore your neo4j graph, create and edit nodes and relationships
Table of Contents
- Improvements over v1
- Getting started
- Running in production
- Running in development
- Known issues
- License
Improvements over v1
Bug improvements
- Settings can now be updated on the fly via the UI.
- Better separated components thanks to Angular2.
- Much much cleaner code for developers to build upon.
- Better events handling in graph and database interaction.
- Annoying bugs and annoying features fixed from v1.
New features
- Editable relationships types and properties.
- Links/relationships can be created in the create mode.
- Added a plain cypher query mode in the main search bar (@todo will be deprecated)
- Settings are served from
neo4j.settings.json
and can be changed on the fly (stored in local storage).
Getting started
- Clone or download the project
- Rename
neo4j.settings.json.dist
intoneo4j.settings.json
. - Run
ng serve
ornpm start
.
Pre-requisites
- Neo4j must be installed Neo4j quick install instructions here
- Neo4j Basic Authentication must have been configured (by default)
- Angular2 CLI is required for running with
ng serve
or building into thedist
folder.
Quick configuration
- With Angular2: serve project with
ng serve
and navigate tohttp://localhost:4200/
- Without Angular2: create a virtual host on your machine and point it to the
dist
folder - Copy
src/assets/neo4j.settings.json.dist
toneo4j.settings.json
and change with your settings - Change client
authBasic
value toBasic: <authString>
. Auth string is a base64 encode of neo4jusername:password
Running in production
Clone the repository and point an Apache2 or Nginx virtual host to the ./dist
folder (see ./support
files for examples).
Development server
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Build
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Known issues
- Chrome: Compatibility OK (no known issues)
- In Firefox local storage is not shared between tabs so you might experience settings or debug logs inconsistent views.
Licence
You do absolutely what you want with that project (MIT Licence).