Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.3 KB

README.adoc

File metadata and controls

50 lines (35 loc) · 1.3 KB

Building Neo4j Applications with Java

Learn how to interact with Neo4j from Java using the Neo4j Java Driver

For a complete walkthrough of this repository, enroll now.

Setup

  1. Clone repository

  2. Install sdkman to manage JDK and Maven

sdk install java 17-open
sdk use java 17-open
sdk install maven
mvn verify
mvn compile exec:java
Connection details to your neo4j database are in src/main/resources/application.properties
APP_PORT=3000

NEO4J_URI=bolt://hostname-or-ip:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=<password>

JWT_SECRET=secret
SALT_ROUNDS=10

A Note on comments

You may spot a number of comments in this repository that look a little like this:

// tag::something[]
someCode()
// end::something[]

We use Asciidoc to author our courses. Using these tags means that we can use a macro to include portions of code directly into the course itself.

From the point of view of the course, you can go ahead and ignore them.