Java REST API built for user to calculate six degree of Kevin Bacon
Latest version of Java
- JDK Version 16.0.1
- JRE Version 16.0.1
Latest version of Neo4j Desktop
Maven version 3.6.3
IntelliJ IDEA Community Edition(recommended IDE)
Postman(API testing)
- Clone the repo if needed
git clone https://github.com/Tony-beeper/six-degree-kevin-bacon.git
- Setup as a Maven project
- Run Configuration: Maven with command line exec:java
- Make sure project structure on IDE is JDK Version 16.0.1
Neo4j Required
- Username: neo4j
- Password: 123456
Default DB connection port: bolt://localhost:7687
Simply run with CLI
mvn test
-
PUT addr:8080/api/v1/addRelationship
-
PUT addr:8080/api/v1/addActor
-
PUT addr:8080/api/v1/addMovie
-
PUT addr:8080/api/v1/computeBaconPath
-
PUT addr:8080/api/v1/getMovie
-
PUT addr:8080/api/v1/hasRelationship
-
PUT addr:8080/api/v1/getActor
-
PUT addr:8080/api/v1/computeBaconNumber
-
PUT addr:8080/api/v1/clearNodes