This repository contains the following elements:
-
data-neo4j folder: Steps, file, and Cypher statements to load Goodreads data to Neo4j AuraDB free tier instance
-
service4: Java microservice that connects to Neo4j AuraDB free instance and retrieves book review data.
-
Sign up to create a free Neo4j AuraDB instance
-
Follow the steps outlined in the
data-neo4jfolder’s README to load the data into Neo4j -
Clone this repository
-
Open the
neo4j-java-microserviceapplication in an IDE or editor -
Modify the
application.propertiesfile inservice4/src/main/resourcesfolder -
Run the application (via the IDE or command line)
-
Open a browser or a command line window to test the REST endpoints:
-
Browser:
localhost:8080/neo,localhost:8080/neo/reviews,localhost:8080/neo/reviews/178186 -
Command line:
curl localhost:8080/neo,curl localhost:8080/neo/reviews,curl localhost:8080/neo/reviews/178186
-
-
Data set: Goodreads source