Skip to content

realittle/app-java-neo4j

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages

  • Java 96.7%
  • Cypher 1.7%
  • HTML 1.6%