Human Connection is a social network. Using a graph based database which can model nodes and edges natively - a network - feels like an obvious choice. We decided to use Neo4j, the currently most used graph database available. The community edition of Neo4J is Free and Open Source and we try our best to keep our application compatible with the community edition only.
You can access Neo4J through http://localhost:7474/ for an interactive cypher shell and a visualization of the graph.
To do so, go to releases, choose "Community Server", download the installation files for you operation system and unpack the files.
Download Neo4j Apoc and drop the file into the
plugins folder of the just extracted Neo4j-Server.
You can download Neo4j Desktop and run locally for development, spin up a hosted Neo4j Sandbox instance, run Neo4j in one of the many cloud options, spin up Neo4j in a Docker container, on Archlinux you can install neo4j-community from AUR or on Debian-based systems install Neo4j from the Debian Repository. Just be sure to update the Neo4j connection string and credentials accordingly in
Start Neo4J and confirm the database is running at http://localhost:7474.
If you are not running our dedicated Neo4J docker image, which is the case if you setup Neo4J locally without docker, then you have to setup unique indices and database constraints manually.
If you have
cypher-shell available with your local installation of neo4j you can run:
# in folder neo4j/$ cp .env.template .env$ ./db_setup.sh