This application’s goal is to provide a minimum REST API functionality for using Spring Data Neo4j with SpringBoot and Neo4j graph database. The project uses the following technologies:
-
Spring Data Neo4j
-
Spring Boot
Previous technologies (SDN5+OGM) are shown on the sdn5
branch of this repository.
./mvnw spring-boot:run
Test the application by hitting the following endpoints:
#all movies
http ":8080/movies"
#find movie by title
http ":8080/movies/The Polar Express"
#find movie title like (fuzzy search)
http ":8080/movies/search/Matrix"
#all people
http ":8080/people"
#find person by name
http ":8080/people/Carrie Fisher"
#find person by name like (fuzzy search)
http ":8080/people/search/Bale"
#find people who acted in and directed a movie
http ":8080/people/actanddirect"
Note: The above commands are using the HTTPie command line tool, but you can use curl
similarly.
-
Documentation: Spring Data Neo4j